fix minior bug that creates invalid kong DANM dannotation
[it/dep.git] / ric-aux / helm / infrastructure / subcharts / kong / charts / postgresql / templates / serviceaccount.yaml
1 {{- if and (.Values.serviceAccount.enabled) (not .Values.serviceAccount.name) }}
2 apiVersion: v1
3 kind: ServiceAccount
4 metadata:
5   labels:
6     app: {{ template "postgresql.name" . }}
7     chart: {{ template "postgresql.chart" . }}
8     release: {{ .Release.Name | quote }}
9     heritage: {{ .Release.Service | quote }}
10   name: {{ template "postgresql.fullname" . }}
11 {{- end }}