We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently it's only possible to ignore a test on the whole test run, with the --ignore-test flag.
--ignore-test
My suggestion of how to get more fine controlled ignores, is to add annotation support for this.
kube-score can look for the annotation kube-score/ignore in every object that it's parsing, and ignore the tests for only that object.
kube-score/ignore
A full example would look like this:
version: v1 kind: Service metadata: annotations: kube-score/ignore: service-type,stable-version
The text was updated successfully, but these errors were encountered:
This was fixed in #87
Sorry, something went wrong.
No branches or pull requests
Currently it's only possible to ignore a test on the whole test run, with the
--ignore-test
flag.My suggestion of how to get more fine controlled ignores, is to add annotation support for this.
kube-score can look for the annotation
kube-score/ignore
in every object that it's parsing, and ignore the tests for only that object.A full example would look like this:
The text was updated successfully, but these errors were encountered: