diff --git a/products/pdt/cd/base/deployment.yaml b/products/pdt/cd/base/deployment.yaml index b6f92e670..0b1168890 100644 --- a/products/pdt/cd/base/deployment.yaml +++ b/products/pdt/cd/base/deployment.yaml @@ -17,6 +17,7 @@ spec: labels: "app.kubernetes.io/name": "pdt" spec: + serviceAccountName: default containers: - image: pdt name: pdt diff --git a/products/pdt/cd/overlays/staging/kustomization.yaml b/products/pdt/cd/overlays/staging/kustomization.yaml index ffbb04cf9..e217a4544 100644 --- a/products/pdt/cd/overlays/staging/kustomization.yaml +++ b/products/pdt/cd/overlays/staging/kustomization.yaml @@ -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