From e4830f332130700be1d5fb94f79537faf4b10a83 Mon Sep 17 00:00:00 2001 From: Pavel Sorejs Date: Sun, 19 Nov 2023 14:36:35 +0100 Subject: [PATCH] fix persistence.enabled: false --- zammad/templates/statefulset.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zammad/templates/statefulset.yaml b/zammad/templates/statefulset.yaml index ac14adaa..3e16a696 100644 --- a/zammad/templates/statefulset.yaml +++ b/zammad/templates/statefulset.yaml @@ -451,9 +451,9 @@ spec: persistentVolumeClaim: claimName: {{ .Values.persistence.existingClaim | default (include "zammad.fullname" .) }} {{- else if not .Values.persistence.enabled }} - - name: {{ template "zammad.fullname" . }}-var - emptyDir: - sizeLimit: {{ .Values.persistence.size | quote }} + - name: {{ template "zammad.fullname" . }}-var + emptyDir: + sizeLimit: {{ .Values.persistence.size | quote }} {{- else if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }} volumeClaimTemplates: - metadata: