20 lines
531 B
YAML
20 lines
531 B
YAML
{{- if .Values.serviceAccount.create }}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "jaeger-operator.serviceAccountName" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{ include "jaeger-operator.labels" . | indent 4 }}
|
|
{{- if .Values.serviceAccount.annotations }}
|
|
annotations:
|
|
{{ toYaml .Values.serviceAccount.annotations | indent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.image.imagePullSecrets }}
|
|
imagePullSecrets:
|
|
{{- range .Values.image.imagePullSecrets }}
|
|
- name: {{ . }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|