From 10bd9c21de78b477c2d6e238743beaf167766c8c Mon Sep 17 00:00:00 2001 From: Ashley Felton Date: Thu, 24 Oct 2024 10:28:42 +0800 Subject: [PATCH] Set generatorOptions.disableNameSuffixHash=true in Kustomize overlays. --- kustomize/overlays/prod/kustomization.yaml | 3 ++- kustomize/overlays/uat/kustomization.yaml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/kustomize/overlays/prod/kustomization.yaml b/kustomize/overlays/prod/kustomization.yaml index 9c5130500..18ccc1ad3 100644 --- a/kustomize/overlays/prod/kustomization.yaml +++ b/kustomize/overlays/prod/kustomization.yaml @@ -6,6 +6,8 @@ secretGenerator: type: Opaque envs: - .env +generatorOptions: + disableNameSuffixHash: true resources: - ../../base - cronjobs/automated-qa @@ -24,4 +26,3 @@ patches: images: - name: ghcr.io/dbca-wa/wastd newTag: 2.1.0 - diff --git a/kustomize/overlays/uat/kustomization.yaml b/kustomize/overlays/uat/kustomization.yaml index 0ca0067f2..22c44e6b8 100644 --- a/kustomize/overlays/uat/kustomization.yaml +++ b/kustomize/overlays/uat/kustomization.yaml @@ -6,6 +6,8 @@ secretGenerator: type: Opaque envs: - .env +generatorOptions: + disableNameSuffixHash: true resources: - ../../base - cronjobs/automated-qa