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

[FEATURE_REQUEST] support dynamic helm values #197

Open
cpvandehey opened this issue Aug 4, 2021 · 1 comment · May be fixed by #203
Open

[FEATURE_REQUEST] support dynamic helm values #197

cpvandehey opened this issue Aug 4, 2021 · 1 comment · May be fixed by #203
Labels
enhancement New feature or request needs design Indicates that the proposed enhancement needs more thought on design

Comments

@cpvandehey
Copy link

Description of the problem/feature request
I have a helm chart that I'd like to lint with your magical tool. The only problem is that I haven't found a way to dynamically pass in values with the kubelinter cli.

For example, this is how I generally invoke the helm linter:
helm lint myhelm -f my-dynamic-values.yaml --strict -- The flag -f my-dynamic-values.yaml is a short yaml file of values that must be set in order for the chart to succeed in building. If those values are not properly set, my helm chart is designed to fail. This is a somewhat common helm pattern/design.

Description of the existing behavior vs. expected behavior
If applicable, please paste in the existing KubeLinter output along with the input used, and point out which part should be modified (expected output).
n/a

Additional context
Add any other context or screenshots about the feature request here.
I chatted with Viswajith Venugopal on slack about this feature.

@janisz janisz added enhancement New feature or request needs design Indicates that the proposed enhancement needs more thought on design labels Jan 12, 2022
@eyarz
Copy link

eyarz commented Jan 18, 2022

Until this is fixed, you can use the following workaround - use the command helm template + any other helm args (like -f) to generate a K8s manifest and run kube-linter against the generated manifest.

Maybe someone from the community can write a helm plugin like other solutions already have (disclaimer - I'm a maintainer in this project).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs design Indicates that the proposed enhancement needs more thought on design
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants