From 46e5688489e7654cc6212c85b28ebc27e9937c78 Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Thu, 24 Jun 2021 15:22:23 -0300 Subject: [PATCH] Fix issue with container volume --- charts/portalmodelo/v0.5.0/templates/plone-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/portalmodelo/v0.5.0/templates/plone-deployment.yaml b/charts/portalmodelo/v0.5.0/templates/plone-deployment.yaml index 062d989..a77470b 100644 --- a/charts/portalmodelo/v0.5.0/templates/plone-deployment.yaml +++ b/charts/portalmodelo/v0.5.0/templates/plone-deployment.yaml @@ -104,7 +104,7 @@ spec: resources: {{- toYaml .Values.resources.plone | nindent 12 }} restartPolicy: Always - {{- if .Values.persistence.enabled }} + {{- if and .Values.persistence.enabled (not .Values.instance.zeoclient) }} volumes: - name: data persistentVolumeClaim: