Skip to content

Commit

Permalink
fix: add missing service account file (#5)
Browse files Browse the repository at this point in the history
Co-authored-by: Philippe Boyd <[email protected]>
  • Loading branch information
philippeboyd and philippe-boyd-maxa authored Feb 10, 2021
1 parent 61037a6 commit 67532a8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{{- if .Values.serviceAccount.create }}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "retool.serviceAccountName" . }}
{{- if .Values.serviceAccount.annotations }}
annotations:
{{ toYaml .Values.serviceAccount.annotations | indent 4 }}
{{- end }}
{{- end }}
3 changes: 2 additions & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,12 @@ postgresql:

serviceAccount:
# Specifies whether a service account should be created
create: false
create: true
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
# If set and create is false, the service account must be existing
name:
annotations: {}

livenessProbe:
enabled: true
Expand Down

0 comments on commit 67532a8

Please sign in to comment.