Created
August 20, 2025 11:49
-
-
Save akhan4u/6d7cbb20a0c3bd50bc742364f18d662e to your computer and use it in GitHub Desktop.
policy exception
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: kyverno.io/v2 | |
| kind: PolicyException | |
| metadata: | |
| name: toleration-exceptions | |
| namespace: kube-system | |
| spec: | |
| background: true | |
| match: | |
| any: | |
| - kinds: | |
| - Pod | |
| - Deployment | |
| names: | |
| - kube-system | |
| exceptions: | |
| - policyName: all-pods-need-tolerations | |
| ruleNames: | |
| - check-pod-tolerations |
Author
akhan4u
commented
Oct 8, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment