Skip to content

Commit

Permalink
PDT: Add deployment patch (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
WuBruno authored Oct 17, 2023
1 parent c73b51a commit 7f2a33b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions products/pdt/cd/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ spec:
labels:
"app.kubernetes.io/name": "pdt"
spec:
serviceAccountName: default
containers:
- image: pdt
name: pdt
Expand Down
7 changes: 3 additions & 4 deletions products/pdt/cd/overlays/staging/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ patches:
kind: Deployment
name: pdt
patch: |-
- op: add
path: /spec/template/spec
value:
serviceAccountName: pdt
- op: replace
path: /spec/template/spec/serviceAccountName
value: pdt

0 comments on commit 7f2a33b

Please sign in to comment.