If the kustomization.yaml includes helmCharts:, this module fails with:
`: must specify --enable-helm
There are a few ways this could be fixed:
- Simplest, always include the
--enable-helm flag on this line:
|
kustomize build "$envpath" -o "$output_file" |
- Safest, add an input variable to the action allowing the user to specify whether or not to enable helm chart support
- Fancy, detect the presence of
helmCharts and automatically toggle the flag
If the
kustomization.yamlincludeshelmCharts:, this module fails with:There are a few ways this could be fixed:
--enable-helmflag on this line:github-action-kustomize-diff/kustdiff
Line 53 in 183b7e5
helmChartsand automatically toggle the flag