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 }}