mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-21 10:18:32 +00:00
20 lines
687 B
YAML
20 lines
687 B
YAML
{{- if .Values.serviceAccount.create -}}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "temporal.serviceAccountName" . }}
|
|
labels:
|
|
app.kubernetes.io/name: {{ include "temporal.name" . }}
|
|
helm.sh/chart: {{ include "temporal.chart" . }}
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" }}
|
|
app.kubernetes.io/part-of: {{ .Chart.Name }}
|
|
annotations:
|
|
helm.sh/hook: pre-install
|
|
helm.sh/hook-weight: "-10"
|
|
{{- with .Values.serviceAccount.extraAnnotations }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- end -}}
|