Trivy http proxy from secret #2171
-
Hi, the helm chart provides a key to set values for the operator from a secret which I need because my http proxy config is inside a secret. operator:
valuesFromSecret: proxy-secrets Is there a option to do the same to set the http proxy settings for trivy? trivy.httpProxy
trivy.httpsProxy trivy-operator/deploy/helm/values.yaml Lines 384 to 391 in 7b0c518 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
sure, can be done, please open an issue for it |
Beta Was this translation helpful? Give feedback.
-
Proxy config from a secret is specified like this: Specify the secret resource with trivy-operator/deploy/helm/values.yaml Lines 184 to 185 in 7b0c518 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: ... |
Beta Was this translation helpful? Give feedback.
Proxy config from a secret is specified like this:
Specify the secret resource with
trivy-operator/deploy/helm/values.yaml
Lines 184 to 185 in 7b0c518
The secret resource should look like this, values are the same as you would specify on linux environments.