Compare commits
2 Commits
1.0.25
...
4876cdc866
| Author | SHA1 | Date | |
|---|---|---|---|
| 4876cdc866 | |||
| c2bdc364c0 |
@@ -112,12 +112,18 @@ spec:
|
||||
{{- else }}
|
||||
{{- if .Values.storage.cloud.active }}
|
||||
{{- range .Values.storage.folders }}
|
||||
{{- if or ( eq . certificates ) ( eq . secrets ) }}
|
||||
- name: cloud
|
||||
mountPath: "/app/{{ . }}"
|
||||
subPath: "{{ . }}"
|
||||
{{- else }}
|
||||
- name: cloud
|
||||
mountPath: "/app/web/app/{{ . }}"
|
||||
subPath: "{{ . }}"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
@@ -145,16 +151,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 }}
|
||||
|
||||
Reference in New Issue
Block a user