From 4253095ebfe30c699618ea2df49ea5d7a040a62c Mon Sep 17 00:00:00 2001 From: Ashley Felton Date: Mon, 22 Jul 2024 15:17:18 +0800 Subject: [PATCH] Add PRS_LAYER_NAME env var to Kustomize resource definitions. --- kustomize/overlays/prod/deployment_patch.yaml | 5 +++++ kustomize/overlays/uat/deployment_patch.yaml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/kustomize/overlays/prod/deployment_patch.yaml b/kustomize/overlays/prod/deployment_patch.yaml index 2f2df9a9..26b13401 100644 --- a/kustomize/overlays/prod/deployment_patch.yaml +++ b/kustomize/overlays/prod/deployment_patch.yaml @@ -26,6 +26,11 @@ spec: secretKeyRef: name: prs-env-prod key: PRS_GEOSERVER_URL + - name: PRS_LAYER_NAME + valueFrom: + secretKeyRef: + name: prs-env-prod + key: PRS_LAYER_NAME - name: MAPPROXY_URL valueFrom: secretKeyRef: diff --git a/kustomize/overlays/uat/deployment_patch.yaml b/kustomize/overlays/uat/deployment_patch.yaml index 1e2806d8..7a374a15 100644 --- a/kustomize/overlays/uat/deployment_patch.yaml +++ b/kustomize/overlays/uat/deployment_patch.yaml @@ -25,6 +25,11 @@ spec: secretKeyRef: name: prs-env-uat key: PRS_GEOSERVER_URL + - name: PRS_LAYER_NAME + valueFrom: + secretKeyRef: + name: prs-env-uat + key: PRS_LAYER_NAME - name: MAPPROXY_URL valueFrom: secretKeyRef: