mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-12-21 06:51:19 +08:00
13 lines
345 B
YAML
13 lines
345 B
YAML
{{- if .Values.frontend.serviceAccount.create -}}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "hangar.frontend.serviceAccountName" . }}
|
|
labels:
|
|
{{- include "hangar.labels" . | nindent 4 }}
|
|
{{- with .Values.frontend.serviceAccount.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|