diff --git a/site/content/en/docs/Tasks/labels_and_annotations.md b/site/content/en/docs/Tasks/labels_and_annotations.md index 1875fb6cd4..f02f1efa74 100644 --- a/site/content/en/docs/Tasks/labels_and_annotations.md +++ b/site/content/en/docs/Tasks/labels_and_annotations.md @@ -243,10 +243,9 @@ resources: ## Working with Annotations ### Add Annotations -Add annotations to all Resources in a project with the [`commonAnnotations`] field. This will override values for annotations keys that already exist. Annotations are propagated to Pod templates. - -The following example adds common annotations to a Deployment. +[`commonAnnotations`] can be used to add annotations to all Resources in a project. This will override values for annotations keys that already exist. Annotations are propagated to the Deployment Pod template. +Here is an example of how to add annotations to a Deployment. 1. Create a Kustomization file. ```yaml # kustomization.yaml @@ -273,7 +272,7 @@ metadata: ```bash kustomize build . ``` -The output shows that annotations are added to the metadata field. +The output shows that the `commonAnnotations` field is used to add annotations to a Deployment. ```yaml apiVersion: apps/v1 kind: Deployment