frp/helm/frps/templates/serviceaccount.yaml

14 lines
383 B
YAML
Raw Normal View History

2025-01-08 12:18:28 +08:00
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "frps.serviceAccountName" . }}
labels:
{{- include "frps.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
{{- end }}