From a652031cb76b63c59aad62d2d7c64e76ed252b40 Mon Sep 17 00:00:00 2001 From: Fabio Date: Tue, 21 Mar 2023 11:42:05 -0300 Subject: [PATCH] Fix affinity setting for plone --- 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 c65c16e..902ac8d 100644 --- a/charts/portalmodelo/v0.5.0/templates/plone-deployment.yaml +++ b/charts/portalmodelo/v0.5.0/templates/plone-deployment.yaml @@ -114,7 +114,6 @@ spec: nodeSelector: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.affinity }} affinity: {{- if .Values.instance.zeoclient }} podAffinity: @@ -137,6 +136,7 @@ spec: - {{ .Release.Name }} topologyKey: kubernetes.io/hostname {{- end }} + {{- with .Values.affinity }} {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.tolerations }}