Skip to content

Commit

Permalink
docs: fix kustomize namePrefix misconception in application.yaml (#10162
Browse files Browse the repository at this point in the history
)

* 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 <yves@premise.com>
  • Loading branch information
whyvez authored and crenshaw-dev committed Aug 3, 2022
1 parent 912fe33 commit 118d4d3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/operator-manual/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 118d4d3

Please sign in to comment.