ContainerImage.JSONServer/charts/json-server/templates/serviceaccount.yaml
Danny Bessems 29f8f24d09
All checks were successful
continuous-integration/drone Build is passing
Initial build w/ chart
2023-05-10 11:42:08 +02:00

13 lines
328 B
YAML

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