File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 36
36
securityContext :
37
37
{{- toYaml .Values.podSecurityContext | nindent 8 }}
38
38
containers :
39
+ {{- if .Values.sidecars }}
40
+ {{- with .Values.sidecars }}
41
+ {{- toYaml . | nindent 8 }}
42
+ {{- end }}
43
+ {{- end }}
39
44
- name : {{ .Chart.Name }}
40
45
securityContext :
41
46
{{- toYaml .Values.securityContext | nindent 12 }}
82
87
successThreshold : {{ .Values.startupProbe.successThreshold }}
83
88
failureThreshold : {{ .Values.startupProbe.failureThreshold }}
84
89
{{- end }}
90
+
85
91
volumes :
86
92
- name : {{ include "zulip.fullname" . }}-persistent-storage
87
93
persistentVolumeClaim :
Original file line number Diff line number Diff line change @@ -179,6 +179,17 @@ postSetup:
179
179
# #!/bin/bash
180
180
# echo "This is a script that gets executed in the Zulip container after installation, once migrations are complete"
181
181
182
+ # -- You can add any sidecar to Zulip, like a minio client to use for
183
+ # uploading backups to a bucket, and mounting the volume for Zulip.
184
+ # sidecars:
185
+ # - image: minio/mc
186
+ # name: minio-client
187
+ # volumeMounts:
188
+ # - name: zulip-data
189
+ # mountPath: /data
190
+ sidecars :
191
+ []
192
+
182
193
# -- PostgreSQL settings, see [Requirements](#Requirements).
183
194
postgresql :
184
195
primary :
You can’t perform that action at this time.
0 commit comments