Skip to content

Commit

Permalink
fix persistence.enabled: false
Browse files Browse the repository at this point in the history
  • Loading branch information
pavels committed Nov 19, 2023
1 parent 3db0ffd commit e4830f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zammad/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e4830f3

Please sign in to comment.