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
What happened:
The latest version of helm/chart-testing-action (v2.6.0) included ct version 3.10.0 - which, as per #552 now adds the --helm-extra-args to the helm lint command. Unfortunately, helm lint doesn't support the same extraArgs as the other helm commands, so the step fails in CI if you have an unsupported command in there (such as --timeout 60m)
What you expected to happen:
Commands that aren't available to a subcommand shouldn't be passed, or the failure should be silent.
How to reproduce it (as minimally and precisely as possible):
Add a --timeout 10m helmExtraArg to a ct.yaml file, and then run a ci lint or ci lint-and-install using it as a config and see the error
Linting chart with values file "charts/lagoon-test/ci/linter-values.yaml"...
Error: unknown flag: --timeout
Error: failed linting and installing charts: failed processing charts
Anything else we need to know:
In order to work around it, I had to remove the extraArgs from the shared config and run separate ci lint and ci install commands
Version of Helm and Kubernetes:
using on Github Action in github runner
helm/chart-testing-action: v2.6.0
helm version: Helm 3.13.1
kubectl version: v1.27.3
ct version: 3.10.0
What happened:
The latest version of helm/chart-testing-action (v2.6.0) included ct version 3.10.0 - which, as per #552 now adds the
--helm-extra-args
to the helm lint command. Unfortunately, helm lint doesn't support the same extraArgs as the other helm commands, so the step fails in CI if you have an unsupported command in there (such as --timeout 60m)What you expected to happen:
Commands that aren't available to a subcommand shouldn't be passed, or the failure should be silent.
How to reproduce it (as minimally and precisely as possible):
Add a
--timeout 10m
helmExtraArg to a ct.yaml file, and then run aci lint
orci lint-and-install
using it as a config and see the errorAnything else we need to know:
In order to work around it, I had to remove the extraArgs from the shared config and run separate ci lint and ci install commands
The text was updated successfully, but these errors were encountered: