mirror of
https://github.com/open-webui/helm-charts
synced 2025-06-26 18:16:14 +00:00
Also apply the container security context to the initContainer (#54)
This commit is contained in:
parent
b7b6bc2022
commit
de2f698c72
@ -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/
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user