Files
dance-lessons-coach/chart/templates/serviceaccount.yaml
Gabriel Radureau f74ba51d7a
Some checks failed
CI/CD Pipeline / Build Docker Cache (push) Successful in 8s
CI/CD Pipeline / Trigger Docker Push (push) Has been cancelled
CI/CD Pipeline / CI Pipeline (push) Has started running
feat(deploy): Dockerfile + Helm chart for k3s homelab deployment (#89)
Co-authored-by: Gabriel Radureau <arcodange@gmail.com>
Co-committed-by: Gabriel Radureau <arcodange@gmail.com>
2026-05-06 06:51:14 +02:00

14 lines
413 B
YAML

{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "dance-lessons-coach.serviceAccountName" . }}
labels:
{{- include "dance-lessons-coach.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
{{- end }}