You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a helm-chart with default values: chart/values.yaml
resources: {}
When I run KICS (1.7): kics scan -t Kubernetes -p chart/, I got the result that CPU/Memory Request/Limit are not defined, however, I would like to scan the helm-chart with the values that my deployment will use, which is a custom values files develop.yaml with the content:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a helm-chart with default values:
chart/values.yaml
When I run KICS (1.7):
kics scan -t Kubernetes -p chart/
, I got the result that CPU/Memory Request/Limit are not defined, however, I would like to scan the helm-chart with the values that my deployment will use, which is a custom values filesdevelop.yaml
with the content:How can I add the
develop.yaml
file during the scan?I also tried to render the helm-chart with the additional values like this:
helm template chart/ -f chart/values.yaml -f develop.yaml | kics scan -t Kubernetes -p - Error: stat /Users/felipe.gonzalez/auth/deploy/-: no such file or directory
However, KICS doesn't accept
-p
with stdinThe only workaround I found was two steps with a temporary file, which is not ideal:
helm template chart/ -f chart/values.yaml -f develop.yaml > rendered.yaml
kics scan -t Kubernetes -p rendered.yaml
Any suggestion ?
Beta Was this translation helpful? Give feedback.
All reactions