Whenever a new namespace is created we want to add some PSA labels, automatically in case they are missing or different.
Whenever a new POD in a given namespace is created we want to add some labels on that POD, automatically based on the namespace the POD is created in.
Solution you'd like
A policy with some configuration options would be great.
Is your feature request related to a problem?
Whenever a new namespace is created we want to add some PSA labels, automatically in case they are missing or different. Whenever a new POD in a given namespace is created we want to add some labels on that POD, automatically based on the namespace the POD is created in.
Solution you'd like
A policy with some configuration options would be great.
See also https://open-policy-agent.github.io/gatekeeper/website/docs/mutation/
Alternatives you've considered
Using OPA https://open-policy-agent.github.io/gatekeeper/website/docs/mutation/
Anything else?
No response