File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,18 @@ spec:
2020 type : static
2121 proj : default
2222 spec :
23+ volumes :
24+ - name : ' {{ .Values.volumeName }}-backups'
25+ persistentVolumeClaim :
26+ claimName : ' {{ .Values.backupsPVName }}'
2327 containers :
2428 - env :
2529 image : {{ .Values.staticImage }}
2630 imagePullPolicy : {{ .Values.imagePullPolicy }}
2731 name : devstats-static-default
32+ volumeMounts :
33+ - name : ' {{ .Values.volumeMountName }}-backups'
34+ mountPath : ' {{ .Values.backupsVolumeMountPath }}'
2835 ports :
2936 - containerPort : 80
3037 livenessProbe :
@@ -91,18 +98,18 @@ spec:
9198 type : static
9299 proj : ' {{ .shortname }}'
93100 spec :
94- containers :
95101 volumes :
96- - name : ' {{ .Values.volumeName }}-backups'
102+ - name : ' {{ $root .Values.volumeName }}-backups'
97103 persistentVolumeClaim :
98- claimName : ' {{ .Values.backupsPVName }}'
104+ claimName : ' {{ $root.Values.backupsPVName }}'
105+ containers :
99106 - env :
100107 image : ' {{ .image }}'
101108 imagePullPolicy : {{ $root.Values.imagePullPolicy }}
102109 name : ' devstats-static-{{ .shortname }}'
103110 volumeMounts :
104- - name : ' {{ .Values.volumeMountName }}-backups'
105- mountPath : ' {{ .Values.backupsVolumeMountPath }}'
111+ - name : ' {{ $root .Values.volumeMountName }}-backups'
112+ mountPath : ' {{ $root .Values.backupsVolumeMountPath }}'
106113 ports :
107114 - containerPort : 80
108115 livenessProbe :
You can’t perform that action at this time.
0 commit comments