Skip to content

Commit c096052

Browse files
author
Jeff McCormick
committed
add service account to helm chart deployment and set the default service account name
1 parent 5e76eef commit c096052

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

chart/postgres-operator/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ spec:
1515
app: {{ template "postgres-operator.name" . }}
1616
release: {{ .Release.Name }}
1717
spec:
18+
serviceAccountName: postgres-operator
1819
containers:
1920
- name: {{ .Chart.Name }}-apiserver
2021
image: "{{ .Values.env.co_image_prefix }}/pgo-apiserver:{{ .Values.env.co_image_tag }}"

chart/postgres-operator/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ resources:
2727
memory: 128Mi
2828

2929
serviceAccount:
30+
name: "postgres-operator"
3031
create: "true"
3132

3233
rbac:
3334
create: "true"
3435

35-
nameOverride: "pgo"
36+
nameOverride: "pgo"

0 commit comments

Comments
 (0)