From 5babd7b75a87880497a63a0aee4a81ab352c72ae Mon Sep 17 00:00:00 2001 From: Bruno Wu Date: Fri, 20 Oct 2023 14:03:42 +0100 Subject: [PATCH] ZIL-5421: PDT - Fix manifests --- .../pdt/cd/overlays/staging/configmap.yaml | 1 + .../pdt/cd/overlays/staging/kustomization.yaml | 18 ++++++++---------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/products/pdt/cd/overlays/staging/configmap.yaml b/products/pdt/cd/overlays/staging/configmap.yaml index eb98bc2dd..e4b5a9b2a 100644 --- a/products/pdt/cd/overlays/staging/configmap.yaml +++ b/products/pdt/cd/overlays/staging/configmap.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: pdt + namespace: pdt data: PROJECT_ID: "prj-c-data-analytics-3xs14wez" DATASET_ID: "ds_zq1_testnet" diff --git a/products/pdt/cd/overlays/staging/kustomization.yaml b/products/pdt/cd/overlays/staging/kustomization.yaml index a71af5d2c..ba65a760b 100644 --- a/products/pdt/cd/overlays/staging/kustomization.yaml +++ b/products/pdt/cd/overlays/staging/kustomization.yaml @@ -8,20 +8,18 @@ resources: namespace: pdt-staging patches: - - target: - kind: Deployment - name: pdt-cronjob - patch: |- + - patch: |- - op: replace path: /spec/jobTemplate/spec/template/spec/serviceAccountName value: pdt - - target: + target: kind: Deployment - name: pdt-listen - patch: |- + name: pdt-cronjob + - patch: |- - op: replace path: /spec/template/spec/serviceAccountName value: pdt - -patchesStrategicMerge: - - configmap.yaml + target: + kind: Deployment + name: pdt-listen + - path: configmap.yaml