From c37afaa050fdc8d2f125368cba8cf35281149d9b Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Thu, 3 Jul 2025 04:08:37 +0400 Subject: [PATCH] feat(helm-charts/infiscal-core): topologySpreadConstraints support --- helm-charts/infisical-standalone-postgres/CHANGELOG.md | 8 ++++++++ .../templates/infisical.yaml | 4 ++++ helm-charts/infisical-standalone-postgres/values.yaml | 4 ++++ 3 files changed, 16 insertions(+) diff --git a/helm-charts/infisical-standalone-postgres/CHANGELOG.md b/helm-charts/infisical-standalone-postgres/CHANGELOG.md index ee80eb6b5..1a9c45485 100644 --- a/helm-charts/infisical-standalone-postgres/CHANGELOG.md +++ b/helm-charts/infisical-standalone-postgres/CHANGELOG.md @@ -1,3 +1,11 @@ +## 1.5.1 (July 3, 2025) + +Changes: +* Added support for `topologySpreadConstraints` configuration in Helm chart + +Features: +* `topologySpreadConstraints`: Configure pod distribution across availability zones and nodes for high availability + ## 1.5.0 (March 26, 2025) Changes: diff --git a/helm-charts/infisical-standalone-postgres/templates/infisical.yaml b/helm-charts/infisical-standalone-postgres/templates/infisical.yaml index 52321a9d6..11ebb8f3d 100644 --- a/helm-charts/infisical-standalone-postgres/templates/infisical.yaml +++ b/helm-charts/infisical-standalone-postgres/templates/infisical.yaml @@ -25,6 +25,10 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} spec: + {{- with $infisicalValues.topologySpreadConstraints }} + topologySpreadConstraints: + {{- toYaml . | nindent 8 }} + {{- end }} {{- with $infisicalValues.affinity }} affinity: {{- toYaml . | nindent 8 }} diff --git a/helm-charts/infisical-standalone-postgres/values.yaml b/helm-charts/infisical-standalone-postgres/values.yaml index d2e3297d5..32b7a8d6f 100644 --- a/helm-charts/infisical-standalone-postgres/values.yaml +++ b/helm-charts/infisical-standalone-postgres/values.yaml @@ -80,6 +80,10 @@ infisical: tolerations: [] # -- Node selector for pod placement nodeSelector: {} + # -- Topology spread constraints for multi-zone deployments + # -- Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/ + topologySpreadConstraints: [] + # -- Kubernetes Secret reference containing Infisical root credentials kubeSecretRef: "infisical-secrets"