Skip to content

webhook: don't mutate pods on UPDATE operations

Arturo Borrero Gonzalez requested to merge arturo-300-webhook-don-t-mutat into main

Most of fields on a Pod resource are immutable. Injecting envvars ona Pod UPDATE operation is a violation of this.

See also: https://kubernetes.io/docs/concepts/workloads/pods/#pod-update-and-replacement

Signed-off-by: Arturo Borrero Gonzalez aborrero@wikimedia.org

Merge request reports