Sample policy disallow-capabilities-strict might have lines 79 and 81 swapped #1031
Answered
by
chipzoller
cybra-northco
asked this question in
Q&A
-
At a first glance, it seems like lines 79 and 81 should be swapped in https://github.com/kyverno/kyverno/blob/main/charts/kyverno-policies/templates/restricted/disallow-capabilities-strict.yaml Or do I misunderstand the validation rule? |
Beta Was this translation helpful? Give feedback.
Answered by
chipzoller
May 24, 2024
Replies: 1 comment
-
No, this is correct. If you swapped them it wouldn't work correctly in all scenarios. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cybra-northco
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, this is correct. If you swapped them it wouldn't work correctly in all scenarios.