ignore-test test pods
drewwells opened this issue · comments
Which version of kube-score are you using?
latest
Add the ability to ignore pods as part of helm test
only.
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 "helm.sh/hook": "test"
annotation should be ignored by kube-score?