Skip to content

Commit

Permalink
PDT: Add service account support
Browse files Browse the repository at this point in the history
  • Loading branch information
WuBruno committed Oct 17, 2023
1 parent a1eecbd commit 488db2b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
10 changes: 10 additions & 0 deletions products/pdt/cd/overlays/staging/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,13 @@ resources:
- ../../base

namespace: pdt-staging

patches:
- target:
kind: Deployment
name: pdt
patch: |-
- op: add
path: /spec/template/spec
value:
serviceAccountName: pdt
7 changes: 7 additions & 0 deletions products/pdt/cd/overlays/staging/service_account.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
annotations:
iam.gke.io/gcp-service-account: [email protected]
name: pdt
namespace: pdt-staging

0 comments on commit 488db2b

Please sign in to comment.