Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

Commit

Permalink
Update PodPreset modification annotation format
Browse files Browse the repository at this point in the history
The new format simply adds a prefix of "podpreset-" to the current
annotation that records what presets have acted on a pod. The new naming
makes it such that there is no chance of collision with the newly
introduced opt-out annotation (or future ones yet to be added).

Opt-out annotation PR:
kubernetes/kubernetes#44965
  • Loading branch information
jpeeler committed Dec 1, 2021
1 parent d195722 commit 2e37b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pod-preset.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ changes to `Volumes` apply to the pod spec for all pods matching `Selector`.

The resultant modified pod spec will be annotated to show that it was modified by
the `PodPreset`. This will be of the form
`podpreset.admission.kubernetes.io/<pip name>": "<resource version>"`.
`podpreset.admission.kubernetes.io/podpreset-<pip name>": "<resource version>"`.

*Why modify all containers in a pod?*

Expand Down

0 comments on commit 2e37b40

Please sign in to comment.