• Kubernetes Submit Queue's avatar
    Merge pull request #44965 from jpeeler/podpreset-exclusion-simple · 9f23149a
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Allow pods to opt out of PodPreset mutation via an annotation on the pod
    
    An annotation in the pod spec of the form:
    podpreset.admission.kubernetes.io/PodPresetOptOut: "true"
    Will cause the admission controller to skip manipulating the pod spec,
    no matter the labelling.
    
    This is an alternative implementation to pull #44163.
    
    ```release-note
    Allow pods to opt out of PodPreset mutation via an annotation on the pod.
    ```
    9f23149a
Name
Last commit
Last update
..
BUILD Loading commit data...
admission.go Loading commit data...
admission_test.go Loading commit data...