Rename 'policies.kyverno.io/patches' to reflect actual functionality #1528
Labels
end user
This label is used to track the issue that is raised by the end user.
enhancement
New feature or request
good first issue
Good for newcomers
mutation
Issues pertaining to the mutate ability.
Milestone
Is your feature request related to a problem? Please describe.
Following up from the Slack convo https://kubernetes.slack.com/archives/CLGR9BJU9/p1612304053201100
When you have a patching mutate policy, it adds the annotation
policies.kyverno.io/patches
containing the patches applied.As soon as you have multiple separate policies patching the same resource, it only stores the last executed on in the annotation.
This caused a bit of confusion for myself and might confuse others in the future.
Describe the solution you'd like
It would be great to either just document it somewhere or, preferable, rename the annotation to reflect better what it actually stores.
Something like
policies.kyverno.io/last-applied-patches
.The text was updated successfully, but these errors were encountered: