kubewarden / docs

Kubewarden's documentation
https://docs.kubewarden.io
Creative Commons Attribution 4.0 International
13 stars 23 forks source link

docs: warn users about policies mutating "high order" resources #335

Closed flavio closed 8 months ago

flavio commented 8 months ago

When dealing with a mutating policy, it's important to understand what are the implications of these mutations.

For example, given a policy that operates on Pods and other types or workload resources (like Deployment, StatefulSet, DaemonSet,...), it's important to perform the mutation against the lowest type of resource (the Pod) or the highest one (the Deployment). Doing the mutation on an intermediate resource (like ReplicaSet), could lead to an infinite feedback loop of mutations.

Acceptance criteria