Skip to content

Prerun helm template

Florian requested to merge agixid/kubesec:helm_template into master

If you are using helm, kubesec won't find your kubernetes manifests.

This commit introduce two new environment variables:

KUBESEC_HELM_CHARTS_PATH=relative_path/to/your/helm/chart

If you specify this env variable, it will run helm template relative_path/to/your/helm/chart > sast_helm_generated_manifest.yaml before running the rest of the analyzer which should find sast_helm_generated_manifest.yaml manifest.

KUBESEC_HELM_OPTIONS='-f relative_path/to/your/helm/chart/values/staging-global.yaml'

If you need to specify helm options, you can add them here.

Edited by Florian

Merge request reports