-
-
Notifications
You must be signed in to change notification settings - Fork 179
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
ignore-test test pods #548
Comments
Hey, Could you please share a more detailed example of what you want to do? |
Sure thing, some charts have test containers that are included as part of manifests. I want to be able to ignore any kube failures inside just those files. Helm test files must be in a test folder https://helm.sh/docs/topics/chart_tests/#example-test It appears you can also use annotations to define some files as only used for tests. These pods are short lived, so they don't have the same stringent requirements as a long running pod for cpu/memory usage. |
Cool, thanks for the link! Just to verify, the idea is that objects with a |
Correct, presence of that annotation is sufficient. I think helm3 also
treats objects in `test/` subdir differently without the annotation, but
annotation is a clearer way to ignore a test object.
On August 4, 2023, Anthony Sottile ***@***.***> wrote:
Cool, thanks for the link! Just to verify, the idea is that objects with a "
helm.sh/hook": "test" annotation should be ignored by kube-score?
—
Reply to this email directly, view it on GitHub
<#548 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB2MEYQHLXRP3GCR7H7QVTXTS4HHANCNFSM6AAAAAA3BRTYBQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Which version of kube-score are you using?
latest
Add the ability to ignore pods as part of
helm test
only.The text was updated successfully, but these errors were encountered: