Skip to content

Commit

Permalink
ZIL-5421: PDT - Fix manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
WuBruno committed Oct 20, 2023
1 parent 751fbb2 commit 5babd7b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
1 change: 1 addition & 0 deletions products/pdt/cd/overlays/staging/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
18 changes: 8 additions & 10 deletions products/pdt/cd/overlays/staging/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5babd7b

Please sign in to comment.