diff --git a/deploy/charts/managed-postgres-operator/templates/deployment.yaml b/deploy/charts/managed-postgres-operator/templates/deployment.yaml index 94c9170..0db742d 100644 --- a/deploy/charts/managed-postgres-operator/templates/deployment.yaml +++ b/deploy/charts/managed-postgres-operator/templates/deployment.yaml @@ -91,3 +91,7 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.topologySpreadConstraints }} + topologySpreadConstraints: + {{- toYaml . | nindent 8 }} + {{- end }} diff --git a/deploy/charts/managed-postgres-operator/values.yaml b/deploy/charts/managed-postgres-operator/values.yaml index 1be00a1..3254198 100644 --- a/deploy/charts/managed-postgres-operator/values.yaml +++ b/deploy/charts/managed-postgres-operator/values.yaml @@ -47,6 +47,8 @@ tolerations: [] affinity: {} +topologySpreadConstraints: [] + prometheus: enabled: false podMonitor: