diff --git a/deploy/helm/postee/templates/postee.yaml b/deploy/helm/postee/templates/postee.yaml index b9e47632..0917e265 100644 --- a/deploy/helm/postee/templates/postee.yaml +++ b/deploy/helm/postee/templates/postee.yaml @@ -117,6 +117,10 @@ spec: {{- end }} resources: {{- toYaml .Values.resources | nindent 12 }} + {{- with .Values.topologySpreadConstraints }} + topologySpreadConstraints: + {{- toYaml . | nindent 8 }} + {{- end }} volumes: - secret: secretName: {{ $fullName }}-secret diff --git a/deploy/helm/postee/values.yaml b/deploy/helm/postee/values.yaml index 0675c55a..1dab6b19 100644 --- a/deploy/helm/postee/values.yaml +++ b/deploy/helm/postee/values.yaml @@ -210,6 +210,7 @@ imageInit: tag: "1.34" imagePullSecrets: [] +topologySpreadConstraints: [] nameOverride: "" fullnameOverride: "" @@ -281,6 +282,8 @@ tolerations: [] affinity: {} + + ## Enable persistence using Persistent Volume Claims ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/ ##