Merge branch 'dev-newchart'
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 2s
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 2s
This commit is contained in:
@@ -99,16 +99,16 @@ spec:
|
||||
- name: serverconfig
|
||||
mountPath: /init-go/config.json
|
||||
subPath: init.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 }}
|
||||
@@ -156,17 +156,29 @@ spec:
|
||||
mountPath: "/mnt/cloud"
|
||||
{{- end }}
|
||||
{{- if .Values.storage.local.active }}
|
||||
{{- range .Values.storage.folders }}
|
||||
{{- range .Values.storage.folders }}
|
||||
{{- if or ( eq . "certificates" ) ( eq . "secrets" ) }}
|
||||
- name: local
|
||||
mountPath: "/app/{{ . }}"
|
||||
subPath: "{{ . }}"
|
||||
{{- else }}
|
||||
- name: local
|
||||
mountPath: "/app/web/app/{{ . }}"
|
||||
subPath: "{{ . }}"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- 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 }}
|
||||
@@ -187,4 +199,4 @@ spec:
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: http
|
||||
protocol: TCP
|
||||
protocol: TCP
|
||||
|
||||
Reference in New Issue
Block a user