Commit 889c47a8 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed serviceaccount

parent dff87f8a
Pipeline #5582 failed with stage
in 13 seconds
......@@ -38,13 +38,9 @@ nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
name:
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
createNew: false
podAnnotations: {}
......
{{- if .Values.serviceAccount.create -}}
{{- with .Values.serviceAccount -}}
{{- if .createNew }}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "Yacy.serviceAccountName" . }}
labels:
{{ include "sharedlabels" . | indent 4 }}
{{- with .Values.serviceAccount.annotations }}
name: {{ .name | quote }}
{{- if .annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{ toYaml .annotations | indent 4 }}
{{- end }}
{{- end }}
{{- end -}}
......@@ -36,13 +36,9 @@ nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
name:
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
createNew: false
podAnnotations: {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment