Skip to content

Commit bf30087

Browse files
committed
remaining shortcuts helm from #83
1 parent 37893ab commit bf30087

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

templates/ldap/openldap-pvc-config.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ metadata:
1212
spec:
1313
accessModes:
1414
- 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 }}
1717
{{- else if .Values.georchestra.storage.storage_class_name }}
1818
storageClassName: {{ .Values.georchestra.storage.storage_class_name }}
1919
{{- 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 }}
2222
{{- end }}
2323
resources:
2424
requests:
25-
storage: {{ .Values.georchestra.storage.openldap_config.size }}
25+
storage: {{ $webapp_storage.size }}
2626
{{- end }}

templates/ldap/openldap-pvc-data.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ metadata:
1212
spec:
1313
accessModes:
1414
- 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 }}
1717
{{- else if .Values.georchestra.storage.storage_class_name }}
1818
storageClassName: {{ .Values.georchestra.storage.storage_class_name }}
1919
{{- 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 }}
2222
{{- end }}
2323
resources:
2424
requests:
25-
storage: {{ .Values.georchestra.storage.openldap_data.size }}
25+
storage: {{ $webapp_storage.size }}
2626
{{- end }}

0 commit comments

Comments
 (0)