Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for end-of-options flag (--) #6

Closed
wants to merge 1 commit into from

Conversation

jarhill0
Copy link

All parameters after the -- flag will be passed directly to helm.

Example usage looks like

helm kubeval myChart -- --version 1.0

This is useful for the reasons described in #5; specifically, helm template supports a --version flag that is currently intercepted by helm-kubeval, with no way to pass it through.

Based on the implementation of run.sh it looks like this feature was intended to be supported, because there's an eoo (end-of-options) variable that is checked but never set. If eoo is ever nonzero (which it cannot be in its current state), then all options go straight to helm without be intercepted.

All parameters after the -- flag will be passed directly to helm.

Fixes instrumenta#5
@jarhill0
Copy link
Author

Closing since the project seems abandoned.

@jarhill0 jarhill0 closed this Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant