infra4talos/apps-helm/uptime-kuma/templates/serviceaccount.yaml

13 lines
328 B
YAML
Raw Permalink Normal View History

2023-12-07 15:10:22 +00:00
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "uptime-kuma.serviceAccountName" . }}
labels:
{{- include "uptime-kuma.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}