Hangar/chart/templates/serviceaccount-frontend.yaml

13 lines
345 B
YAML
Raw Normal View History

{{- if .Values.frontend.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "hangar.frontend.serviceAccountName" . }}
labels:
{{- include "hangar.labels" . | nindent 4 }}
{{- with .Values.frontend.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}