1 {{- if .Values.serviceAccount.create }}
5 name: {{ include "postgresql.serviceAccountName" . }}
6 namespace: {{ .Release.Namespace | quote }}
7 labels: {{- include "common.labels.standard" . | nindent 4 }}
8 {{- if .Values.commonLabels }}
9 {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
12 {{- if .Values.commonAnnotations }}
13 {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
15 {{- if .Values.serviceAccount.annotations }}
16 {{- include "common.tplvalues.render" ( dict "value" .Values.serviceAccount.annotations "context" $ ) | nindent 4 }}
18 automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}