diff --git a/docs/tasks/inject-data-application/podpreset.md b/docs/tasks/inject-data-application/podpreset.md index 1234cc9f94..cbc3b368cb 100644 --- a/docs/tasks/inject-data-application/podpreset.md +++ b/docs/tasks/inject-data-application/podpreset.md @@ -51,7 +51,7 @@ Kubernetes modifies the Pod Spec. Kubernetes annotates the resulting modified pod spec to show that it was modified by a `PodPreset`. The annotation is of the form -`podpreset.admission.kubernetes.io/": ""`. +`podpreset.admission.kubernetes.io/podpreset-": ""`. ## Enable Pod Preset @@ -63,6 +63,12 @@ following 1. You have enabled the admission controller `PodPreset` 1. You have defined your pod presets +## Disable Pod Preset for a pod + +There may be instances where you wish for a pod to not be altered by any pod +preset mutations. For these events, one can add an annotation in the pod spec +of the form: `podpreset.admission.kubernetes.io/exclude: "true"`. + ## Create a Pod Preset ### Simple Pod Spec Example