From 118d4d3c58fb7877e3a114ece54651c41e804809 Mon Sep 17 00:00:00 2001 From: Yves Richard Date: Wed, 3 Aug 2022 12:38:44 -0600 Subject: [PATCH] docs: fix kustomize namePrefix misconception in application.yaml (#10162) * Update docs/operator-manual/application.yaml - Removed comment about what namePrefix does. (i.e. it does not add a prefix to the image) - Added examples of other supported transformers. (based on looking at the source code) - Added link to the kustomize docs where the transormers are described in more detail. * Update kustomize casing to be consistent Signed-off-by: whyvez --- docs/operator-manual/application.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/operator-manual/application.yaml b/docs/operator-manual/application.yaml index 538efb80faac7..699a8908e65b3 100644 --- a/docs/operator-manual/application.yaml +++ b/docs/operator-manual/application.yaml @@ -69,11 +69,16 @@ spec: kustomize: # Optional kustomize version. Note: version must be configured in argocd-cm ConfigMap version: v3.5.4 - # Optional image name prefix + # Supported kustomize transformers. https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/ namePrefix: prod- - # Optional images passed to "kustomize edit set image". + nameSuffix: -some-suffix + commonLabels: + foo: bar + commonAnnotations: + beep: boop images: - gcr.io/heptio-images/ks-guestbook-demo:0.2 + - my-app=gcr.io/my-repo/my-app:0.1 # directory directory: