Merge pull request #55486 from sttts/sttts-psp-admission-annotation
Automatic merge from submit-queue (batch tested with PRs 54005, 55127, 53850, 55486, 53440). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
admission: don't update psp annotation on update
Follow-up of https://github.com/kubernetes/kubernetes/pull/54689.
Related to https://github.com/kubernetes/kubernetes/issues/55435 as istio-like initializer-based container injection cannot contribute to SC mutations.
```release-note
The PodSecurityPolicy annotation `kubernetes.io/psp` on pods is only set once on create.
```
Showing
Please
register
or
sign in
to comment