fix: serviceaccount token automount

This commit is contained in:
Zadjad Rezai 2024-11-25 08:13:50 +00:00
parent db99d5cafe
commit b9cc6a30cc

View File

@ -3,12 +3,11 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Values.serviceAccount.name | default (include "open-webui.name" .) }}
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
labels:
{{- include "open-webui.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
{{- end }}