Skip to content

Commit 67532a8

Browse files
fix: add missing service account file (#5)
Co-authored-by: Philippe Boyd <philippe.boyd@maxa.ai>
1 parent 61037a6 commit 67532a8

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

templates/serviceaccount.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{{- if .Values.serviceAccount.create }}
2+
apiVersion: v1
3+
kind: ServiceAccount
4+
metadata:
5+
name: {{ include "retool.serviceAccountName" . }}
6+
{{- if .Values.serviceAccount.annotations }}
7+
annotations:
8+
{{ toYaml .Values.serviceAccount.annotations | indent 4 }}
9+
{{- end }}
10+
{{- end }}

values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,12 @@ postgresql:
9292

9393
serviceAccount:
9494
# Specifies whether a service account should be created
95-
create: false
95+
create: true
9696
# The name of the service account to use.
9797
# If not set and create is true, a name is generated using the fullname template
9898
# If set and create is false, the service account must be existing
9999
name:
100+
annotations: {}
100101

101102
livenessProbe:
102103
enabled: true

0 commit comments

Comments
 (0)