k8s-charts/charts/tandoor-recipes/templates/serviceaccount.yaml

13 lines
336 B
YAML
Raw Normal View History

2023-10-04 20:37:53 +00:00
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "tandoor-recipes.serviceAccountName" . }}
labels:
{{- include "tandoor-recipes.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}