Replies: 1 comment
-
This is how we use the resources:
- ./../base # Base manifest directory
patches:
- path: patch-config.yaml # Patch files to be applied
- path: patch-config-cron.yaml
namePrefix: production- # Prepends the name of the template with 'production-' in the prod environment
# If using containers or scripts
images:
- name: container-image # Replace with your image name
newName: abcxyz.azurecr.io/container-image # <image-url>/<container-image-name>
newTag: latest-production # Tag to be applied
# If using ConfigMaps
configMapGenerator:
- name: configmap-name # Replace with your configmap name
literals:
- val=1 # Replace with your key-value pair
generatorOptions:
disableNameSuffixHash: true # Disables the hash suffix in the template name References: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Assumptions
Argo Workflows manifests are kustomized and applied.
What we want to do
I want to use the ConfigMap generated by
disableNameSuffixHash: false
in ConfigMapGenerator for each workflow.Things we are considering
kubernetes-sigs/kustomize#2524
I'm considering the method in this Issue, but it doesn't seem to cover all use cases.
Question
Is there a recommended way to write kustomization.yaml when using ConfigMap generated by ConfigMapGenerator?
Beta Was this translation helpful? Give feedback.
All reactions