Compare commits

..

1 Commits

Author SHA1 Message Date
chgl
de2f698c72 Also apply the container security context to the initContainer (#54) 2024-07-28 14:48:48 -07:00
2 changed files with 5 additions and 1 deletions

View File

@@ -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/

View File

@@ -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