Skip to content

Trivy http proxy from secret #2171

Closed Answered by kimdre
kimdre asked this question in Help & Support
Jul 5, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Proxy config from a secret is specified like this:

Specify the secret resource with

# -- valuesFromSecret name of a Secret to apply OPERATOR_* environment variables. Will override Helm AND ConfigMap values.
valuesFromSecret: ""

The secret resource should look like this, values are the same as you would specify on linux environments.

apiVersion: v1
kind: Secret
metadata:
  name: proxy-secrets
data:
  HTTP_PROXY: ...
  HTTPS_PROXY: ...
  NO_PROXY: ...

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@kimdre
Comment options

@chen-keinan
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by kimdre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants