Files
charts/bitnami/postgresql/templates/serviceaccount.yaml
hanzala1234 fc694c5095 [bitnami/Postgresql] Add explicit namespace field on resources (#5333)
* Update configmap.yaml

* Update extended-config-configmap.yaml

* Update initialization-configmap.yaml

* Update metrics-configmap.yaml

* Update metrics-svc.yaml

* Update networkpolicy.yaml

* Update podsecuritypolicy.yaml

* Update role.yaml

* Update rolebinding.yaml

* Update secrets.yaml

* Update serviceaccount.yaml

* Update statefulset-readreplicas.yaml

* Update statefulset.yaml

* Update svc-headless.yaml

* Update svc-read.yaml

* Update svc.yaml

* Update chart version
2021-01-29 15:37:28 +01:00

13 lines
465 B
YAML

{{- if and (.Values.serviceAccount.enabled) (not .Values.serviceAccount.name) }}
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
{{- include "common.labels.standard" . | nindent 4 }}
name: {{ template "common.names.fullname" . }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
{{- end }}