diff --git a/site/content/kapp-controller/docs/develop/app-spec.md b/site/content/kapp-controller/docs/develop/app-spec.md index 88991a01a..c1b120ee9 100644 --- a/site/content/kapp-controller/docs/develop/app-spec.md +++ b/site/content/kapp-controller/docs/develop/app-spec.md @@ -236,6 +236,9 @@ spec: fieldPath: metadata.namespace - name: specificAnnotation fieldPath: metadata.annotations['specificAnnotation'] + - name: anotherAnnotationWithDots + # keys requiring `\\.`` should use "" for the filedPath value + fieldPath: "metadata.annotations['another\\.annotation\\.with\\.dots']" # query for the version of the cluster - name: kubeVersion kubernetesVersion: {} @@ -281,6 +284,9 @@ spec: fieldPath: metadata.namespace - name: specificAnnotation fieldPath: metadata.annotations['specificAnnotation'] + - name: anotherAnnotationWithDots + # keys requiring `\\.`` should use "" for the filedPath value + fieldPath: "metadata.annotations['another\\.annotation\\.with\\.dots']" # query for the version of the cluster - name: kubeVersion kubernetesVersion: {} @@ -308,6 +314,9 @@ spec: fieldPath: metadata.namespace - name: specificAnnotation fieldPath: metadata.annotations['specificAnnotation'] + - name: anotherAnnotationWithDots + # keys requiring `\\.`` should use "" for the filedPath value + fieldPath: "metadata.annotations['another\\.annotation\\.with\\.dots']" # query for the version of the cluster - name: kubeVersion kubernetesVersion: {} diff --git a/site/content/kapp-controller/docs/v0.48.x/app-spec.md b/site/content/kapp-controller/docs/v0.48.x/app-spec.md index 6834ede58..52bd69c9d 100644 --- a/site/content/kapp-controller/docs/v0.48.x/app-spec.md +++ b/site/content/kapp-controller/docs/v0.48.x/app-spec.md @@ -237,6 +237,9 @@ spec: fieldPath: metadata.namespace - name: specificAnnotation fieldPath: metadata.annotations['specificAnnotation'] + - name: anotherAnnotationWithDots + # keys requiring `\\.`` should use "" for the filedPath value + fieldPath: "metadata.annotations['another\\.annotation\\.with\\.dots']" # query for the version of the cluster - name: kubeVersion kubernetesVersion: {} @@ -282,6 +285,9 @@ spec: fieldPath: metadata.namespace - name: specificAnnotation fieldPath: metadata.annotations['specificAnnotation'] + - name: anotherAnnotationWithDots + # keys requiring `\\.`` should use "" for the filedPath value + fieldPath: "metadata.annotations['another\\.annotation\\.with\\.dots']" # query for the version of the cluster - name: kubeVersion kubernetesVersion: {} @@ -309,6 +315,9 @@ spec: fieldPath: metadata.namespace - name: specificAnnotation fieldPath: metadata.annotations['specificAnnotation'] + - name: anotherAnnotationWithDots + # keys requiring `\\.`` should use "" for the filedPath value + fieldPath: "metadata.annotations['another\\.annotation\\.with\\.dots']" # query for the version of the cluster - name: kubeVersion kubernetesVersion: {}