Update Chart/templates/deployment.yaml
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
2024-02-23 18:17:45 +00:00
parent 847eca2458
commit 3cdaaf07a4

View File

@@ -150,11 +150,17 @@ spec:
mountPath: "/mnt/cloud" mountPath: "/mnt/cloud"
{{- end }} {{- end }}
{{- if .Values.storage.local.active }} {{- if .Values.storage.local.active }}
{{- range .Values.storage.folders }} {{- range .Values.storage.folders }}
- name: local {{- if or ( eq . certificates ) ( eq . secrets ) }}
- name: cloud
mountPath: "/app/{{ . }}"
subPath: "{{ . }}"
{{- else }}
- name: cloud
mountPath: "/app/web/app/{{ . }}" mountPath: "/app/web/app/{{ . }}"
subPath: "{{ . }}" subPath: "{{ . }}"
{{- end }} {{- end }}
{{- end }}
{{- else }} {{- else }}
{{- if .Values.storage.cloud.active }} {{- if .Values.storage.cloud.active }}
{{- range .Values.storage.folders }} {{- range .Values.storage.folders }}