File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 30
30
priorityClassName : {{ .Values.priorityClassName | quote }}
31
31
{{- end }}
32
32
volumes :
33
+ {{- if .Values.pms.configExistingClaim }}
34
+ - name : pms-config
35
+ persistentVolumeClaim :
36
+ claimName : {{ .Values.pms.configExistingClaim | quote }}
37
+ {{- end }}
33
38
- name : pms-transcode
34
39
emptyDir : {}
35
40
{{- if and .Values.rclone.enabled .Values.rclone.configSecret }}
@@ -164,6 +169,7 @@ spec:
164
169
{{- with .Values.extraContainers }}
165
170
{{- toYaml . | nindent 6 }}
166
171
{{- end }}
172
+ {{- if not .Values.pms.configExistingClaim }}
167
173
volumeClaimTemplates :
168
174
- metadata :
169
175
name : pms-config
@@ -175,3 +181,4 @@ spec:
175
181
resources :
176
182
requests :
177
183
storage : {{ .Values.pms.configStorage }}
184
+ {{- end }}
Original file line number Diff line number Diff line change 32
32
# the volume size to provision for the PMS database
33
33
configStorage : 2Gi
34
34
35
+ # Name of an existing `PersistentVolumeClaim` for the PMS database
36
+ # NOTE: When set, 'configStorage' and 'storageClassName' are ignored.
37
+ configExistingClaim : " "
38
+
35
39
resources : {}
36
40
# We usually recommend not to specify default resources and to leave this as a conscious
37
41
# choice for the user. This also increases chances charts run on environments with little
You can’t perform that action at this time.
0 commit comments