Skip to content

Commit

Permalink
Also apply the container security context to the initContainer (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
chgl authored Jul 28, 2024
1 parent b7b6bc2 commit de2f698
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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: 3.1.0
version: 3.1.1
appVersion: "v0.3.8"

home: https://www.openwebui.com/
Expand Down
4 changes: 4 additions & 0 deletions charts/open-webui/templates/workload-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ spec:
imagePullPolicy: {{ .pullPolicy }}
{{- end }}
command: ['sh', '-c', 'cp -R /app/backend/data/* /tmp/app-data/']
{{- with .Values.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 10 }}
{{- end }}
volumeMounts:
- name: data
mountPath: /tmp/app-data
Expand Down

0 comments on commit de2f698

Please sign in to comment.