Merge in main, change create to enable for consistency

This commit is contained in:
0xThresh.eth 2024-11-24 13:09:07 -07:00
parent d0cf4abd11
commit 746fe34aa1
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
apiVersion: v2
name: open-webui
version: 4.0.1
version: 4.0.2
appVersion: 0.4.2
home: https://www.openwebui.com/
icon: >-

View File

@ -1,4 +1,4 @@
{{- if .Values.serviceAccount.create }}
{{- if .Values.serviceAccount.enable }}
apiVersion: v1
kind: ServiceAccount
metadata:

View File

@ -41,7 +41,7 @@ spec:
{{- end }}
command: ['sh', '-c', 'cp -R -n /app/backend/data/* /tmp/app-data/']
{{- with .Values.containerSecurityContext }}
{{- with .Values.copy-app-data.resources }}
{{- with .Values.copyAppData.resources }}
resources: {{- toYaml . | nindent 10 }}
{{- end }}
securityContext:
@ -58,7 +58,7 @@ spec:
{{- end }}
enableServiceLinks: false
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
{{- if .Values.serviceAccount.create }}
{{- if .Values.serviceAccount.enable }}
serviceAccountName: {{ .Values.serviceAccount.name | default (include "open-webui.name" .) }}
{{- end }}
{{- with .Values.podSecurityContext }}

View File

@ -44,7 +44,7 @@ image:
pullPolicy: "IfNotPresent"
serviceAccount:
create: true
enable: true
name: ""
annotations: {}
automountServiceAccountToken: false