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