Fix ing, deployment

This commit is contained in:
Lars
2023-09-13 13:43:29 +02:00
parent a5d7592dc7
commit 9793780639
4 changed files with 11 additions and 6 deletions

View File

@@ -74,7 +74,7 @@ spec:
{{- end }}
{{- end }}
initContainers:
{{- if and .Values.storage.cloud.active .Values.storage.local.active }}
{{- if and .Values.storage.cloud.active .Values.storage.local.active .Values.storage.local.cloneCloud }}
- name: init-local-storage
securityContext:
allowPrivilegeEscalation: false
@@ -140,9 +140,6 @@ spec:
image: "{{ .Values.site.image }}"
imagePullPolicy: IfNotPresent
volumeMounts:
- name: serverconfig
mountPath: /init-go/config.json
subPath: init.json
- name: serverconfig
mountPath: /docker-entrypoint.d/unit.json
subPath: unit.json