blob: 84dd6dd86a644c50bd552b00698099a585541960 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "rest-api.serviceAccountName" . }}
labels:
{{- include "rest-api.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
|