Skip to content

Commit

Permalink
Merge in main, change create to enable for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
0xThresh committed Nov 24, 2024
1 parent d0cf4ab commit 746fe34
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/open-webui/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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: >-
Expand Down
2 changes: 1 addition & 1 deletion charts/open-webui/templates/service-account.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.serviceAccount.create }}
{{- if .Values.serviceAccount.enable }}
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down
4 changes: 2 additions & 2 deletions charts/open-webui/templates/workload-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/open-webui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ image:
pullPolicy: "IfNotPresent"

serviceAccount:
create: true
enable: true
name: ""
annotations: {}
automountServiceAccountToken: false
Expand Down

0 comments on commit 746fe34

Please sign in to comment.