From a01184310d7f72599fb9e5df6d947fadffd781aa Mon Sep 17 00:00:00 2001 From: zhenyus Date: Wed, 16 Apr 2025 06:32:01 +0800 Subject: [PATCH] fix: move serviceAccountName configuration under spec section in deployment.yaml Signed-off-by: zhenyus --- .../authentication/templates/authentication/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml index 45a2f9b0..e73acb31 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml @@ -29,10 +29,10 @@ spec: sidecar.opentelemetry.io/inject: "{{ .Release.Namespace}}/{{ .Release.Name }}-opentelemetry-collector" {{- end }} spec: - containers: {{- if .Values.logIngest.enabled }} - serviceAccountName: "{{ .Release.Name }}-otel-collector" + serviceAccountName: "{{ .Release.Name }}-otel-collector" {{- end }} + containers: - name: "authentication" image: "{{ coalesce .Values.authentication.image.registry .Values.global.registry "docker.io"}}/{{ coalesce .Values.authentication.image.repository .Values.global.repository }}/{{ .Values.authentication.image.name }}:{{ .Values.authentication.image.tag | default "latest" }}" imagePullPolicy: {{ .Values.authentication.image.imagePullPolicy | default "IfNotPresent" }}