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
Both helm install and helm template support a --version option used to specify the version of a chart to install:
--version string specify the exact chart version to install. If this is not specified, the latest version is installed
Unfortunately the current version of this package intercepts the --version argument and passes it to kubeval, which makes it impossible to give this argument to helm template:
It would be great if there were a way to pass the --version argument to helm. I think the best way to achieve this would be by supporting the "end of options" flag, which is --. Using the -- sends all arguments after it to helm without intercepting any of them.
I imagine the usage would look like:
helm kubeval myChart -- --version 1.0
This would pass the --version 1.0 argument to helm, rather than printing the kubeval version.
The current version of run.sh nearly supports this. It has an eoo variable which it checks (complete with an appropriate else case), but it never actually checks for -- or sets eoo to 1.
The text was updated successfully, but these errors were encountered:
jarhill0
added a commit
to jarhill0/helm-kubeval
that referenced
this issue
Jun 26, 2020
Both
helm install
andhelm template
support a--version
option used to specify the version of a chart to install:Unfortunately the current version of this package intercepts the
--version
argument and passes it tokubeval
, which makes it impossible to give this argument tohelm template
:helm-kubeval/scripts/run.sh
Lines 10 to 14 in 7476464
It would be great if there were a way to pass the
--version
argument to helm. I think the best way to achieve this would be by supporting the "end of options" flag, which is--
. Using the--
sends all arguments after it to helm without intercepting any of them.I imagine the usage would look like:
This would pass the
--version 1.0
argument to helm, rather than printing thekubeval
version.The current version of
run.sh
nearly supports this. It has aneoo
variable which it checks (complete with an appropriateelse
case), but it never actually checks for--
or setseoo
to1
.The text was updated successfully, but these errors were encountered: