Browse Source

Fix affinity setting for plone

master
Fábio Kaiser Rauber 2 years ago
parent
commit
a652031cb7
  1. 2
      charts/portalmodelo/v0.5.0/templates/plone-deployment.yaml

2
charts/portalmodelo/v0.5.0/templates/plone-deployment.yaml

@ -114,7 +114,6 @@ spec:
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- with .Values.affinity }}
affinity: affinity:
{{- if .Values.instance.zeoclient }} {{- if .Values.instance.zeoclient }}
podAffinity: podAffinity:
@ -137,6 +136,7 @@ spec:
- {{ .Release.Name }} - {{ .Release.Name }}
topologyKey: kubernetes.io/hostname topologyKey: kubernetes.io/hostname
{{- end }} {{- end }}
{{- with .Values.affinity }}
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- with .Values.tolerations }} {{- with .Values.tolerations }}

Loading…
Cancel
Save