diff --git a/chart/searchlight/templates/deployment.yaml b/chart/searchlight/templates/deployment.yaml index 71f39ad79..9b58b6d24 100644 --- a/chart/searchlight/templates/deployment.yaml +++ b/chart/searchlight/templates/deployment.yaml @@ -17,7 +17,7 @@ spec: {{- if and .Values.criticalAddon (eq .Release.Namespace "kube-system") }} annotations: scheduler.alpha.kubernetes.io/critical-pod: '' -{{- end -}} +{{- end }} spec: serviceAccountName: {{ if .Values.rbac.create }}{{ template "fullname" . }}{{ else }}"{{ .Values.rbac.serviceAccountName }}"{{ end }} containers: