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
Uh oh!
There was an error while loading. Please reload this page.
-
I have a helm-chart with default values:
chart/values.yamlWhen 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.yamlwith the content:How can I add the
develop.yamlfile 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 directoryHowever, KICS doesn't accept
-pwith 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.yamlkics scan -t Kubernetes -p rendered.yamlAny suggestion ?
Beta Was this translation helpful? Give feedback.
All reactions