File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ metadata:
12
12
spec :
13
13
accessModes :
14
14
- ReadWriteOnce
15
- {{- if .Values.georchestra.storage.openldap_config .storage_class_name }}
16
- storageClassName : {{ .Values.georchestra.storage.openldap_config .storage_class_name }}
15
+ {{- if $webapp_storage .storage_class_name }}
16
+ storageClassName : {{ $webapp_storage .storage_class_name }}
17
17
{{- else if .Values.georchestra.storage.storage_class_name }}
18
18
storageClassName : {{ .Values.georchestra.storage.storage_class_name }}
19
19
{{- end }}
20
- {{- if .Values.georchestra.storage.openldap_config .pv_name }}
21
- volumeName : {{ .Values.georchestra.storage.openldap_config .pv_name }}
20
+ {{- if $webapp_storage .pv_name }}
21
+ volumeName : {{ $webapp_storage .pv_name }}
22
22
{{- end }}
23
23
resources :
24
24
requests :
25
- storage : {{ .Values.georchestra.storage.openldap_config .size }}
25
+ storage : {{ $webapp_storage .size }}
26
26
{{- end }}
Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ metadata:
12
12
spec :
13
13
accessModes :
14
14
- ReadWriteOnce
15
- {{- if .Values.georchestra.storage.openldap_data .storage_class_name }}
16
- storageClassName : {{ .Values.georchestra.storage.openldap_data .storage_class_name }}
15
+ {{- if $webapp_storage .storage_class_name }}
16
+ storageClassName : {{ $webapp_storage .storage_class_name }}
17
17
{{- else if .Values.georchestra.storage.storage_class_name }}
18
18
storageClassName : {{ .Values.georchestra.storage.storage_class_name }}
19
19
{{- end }}
20
- {{- if .Values.georchestra.storage.openldap_data .pv_name }}
21
- volumeName : {{ .Values.georchestra.storage.openldap_data .pv_name }}
20
+ {{- if $webapp_storage .pv_name }}
21
+ volumeName : {{ $webapp_storage .pv_name }}
22
22
{{- end }}
23
23
resources :
24
24
requests :
25
- storage : {{ .Values.georchestra.storage.openldap_data .size }}
25
+ storage : {{ $webapp_storage .size }}
26
26
{{- end }}
You can’t perform that action at this time.
0 commit comments