Update Chart/templates/deployment.yaml

This commit is contained in:
2024-02-22 15:12:52 +00:00
parent 596c4102ed
commit c2bdc364c0

View File

@@ -145,16 +145,16 @@ spec:
- name: serverconfig
mountPath: /docker-entrypoint.d/unit.json
subPath: unit.json
{{- if .Values.storage.cloud.active }}
- name: cloud
mountPath: "/mnt/cloud"
{{- end }}
{{- if .Values.storage.local.active }}
{{- range .Values.storage.folders }}
- name: local
mountPath: "/app/web/app/{{ . }}"
subPath: "{{ . }}"
{{- end }}
{{- if .Values.storage.cloud.active }}
- name: cloud
mountPath: "/mnt/cloud"
{{- end }}
{{- else }}
{{- if .Values.storage.cloud.active }}
{{- range .Values.storage.folders }}