mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-01-03 23:29:11 +03:00
18 lines
517 B
YAML
18 lines
517 B
YAML
{{- if .Values.serviceAccount.create }}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "gitea-mirror.serviceAccountName" . }}
|
|
labels:
|
|
{{- include "gitea-mirror.labels" . | nindent 4 }}
|
|
{{- with .Values.serviceAccount.labels }}
|
|
{{- . | toYaml | nindent 4 }}
|
|
{{- end }}
|
|
{{- with .Values.serviceAccount.annotations }}
|
|
annotations:
|
|
{{- . | toYaml | nindent 4 }}
|
|
{{- end }}
|
|
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
|
|
{{- end }}
|
|
|