From 68357b5669f82be176f3d262db7d698541fb80d6 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Wed, 2 Jul 2025 20:25:36 -0400 Subject: [PATCH 1/6] Revert "Revert "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" From eff73f18106646393c1cc21981461a637fd4f6f7 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Thu, 3 Jul 2025 04:27:55 +0400 Subject: [PATCH 2/6] fix: update versions --- helm-charts/infisical-standalone-postgres/CHANGELOG.md | 4 ++-- helm-charts/infisical-standalone-postgres/Chart.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/helm-charts/infisical-standalone-postgres/CHANGELOG.md b/helm-charts/infisical-standalone-postgres/CHANGELOG.md index 1a9c45485..f56234ab9 100644 --- a/helm-charts/infisical-standalone-postgres/CHANGELOG.md +++ b/helm-charts/infisical-standalone-postgres/CHANGELOG.md @@ -1,7 +1,7 @@ -## 1.5.1 (July 3, 2025) +## 1.6.1 (July 3, 2025) Changes: -* Added support for `topologySpreadConstraints` configuration in Helm chart +* Added support for `topologySpreadConstraints` configuration in Helm chart for the Infisical deployment Features: * `topologySpreadConstraints`: Configure pod distribution across availability zones and nodes for high availability diff --git a/helm-charts/infisical-standalone-postgres/Chart.yaml b/helm-charts/infisical-standalone-postgres/Chart.yaml index 2c55b16f5..51975315e 100644 --- a/helm-charts/infisical-standalone-postgres/Chart.yaml +++ b/helm-charts/infisical-standalone-postgres/Chart.yaml @@ -7,7 +7,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.6.0 +version: 1.6.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to From 36ff5e054b2b22f9b58c9a4e7a784a22d0010d75 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Thu, 3 Jul 2025 04:50:49 +0400 Subject: [PATCH 3/6] Update helm-release-infisical-core.yml --- .github/workflows/helm-release-infisical-core.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/helm-release-infisical-core.yml b/.github/workflows/helm-release-infisical-core.yml index ebce7cbe0..544f558aa 100644 --- a/.github/workflows/helm-release-infisical-core.yml +++ b/.github/workflows/helm-release-infisical-core.yml @@ -53,7 +53,7 @@ jobs: ct install \ --config ct.yaml \ --charts helm-charts/infisical-standalone-postgres \ - --helm-extra-args="--timeout=300s" \ + --helm-extra-args="--timeout=600s" \ --helm-extra-set-args="--set ingress.nginx.enabled=false --set infisical.autoDatabaseSchemaMigration=false --set infisical.replicaCount=1 --set infisical.image.tag=v0.132.2-postgres" \ --namespace infisical-standalone-postgres From a8f0eceeb9578709b8530837d71aaf2f613873c4 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Thu, 3 Jul 2025 05:00:51 +0400 Subject: [PATCH 4/6] Update helm-release-infisical-core.yml --- .github/workflows/helm-release-infisical-core.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/helm-release-infisical-core.yml b/.github/workflows/helm-release-infisical-core.yml index 544f558aa..bbb5bf2a7 100644 --- a/.github/workflows/helm-release-infisical-core.yml +++ b/.github/workflows/helm-release-infisical-core.yml @@ -54,7 +54,7 @@ jobs: --config ct.yaml \ --charts helm-charts/infisical-standalone-postgres \ --helm-extra-args="--timeout=600s" \ - --helm-extra-set-args="--set ingress.nginx.enabled=false --set infisical.autoDatabaseSchemaMigration=false --set infisical.replicaCount=1 --set infisical.image.tag=v0.132.2-postgres" \ + --helm-extra-set-args="--set ingress.nginx.enabled=false --set infisical.autoDatabaseSchemaMigration=false --set infisical.replicaCount=1" \ --namespace infisical-standalone-postgres release: From af2f3017b7621c574f38fb186733e8b53392caa8 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Thu, 3 Jul 2025 05:13:50 +0400 Subject: [PATCH 5/6] fix: tests failing --- .github/workflows/helm-release-infisical-core.yml | 4 ++-- helm-charts/infisical-standalone-postgres/Chart.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/helm-release-infisical-core.yml b/.github/workflows/helm-release-infisical-core.yml index bbb5bf2a7..ebce7cbe0 100644 --- a/.github/workflows/helm-release-infisical-core.yml +++ b/.github/workflows/helm-release-infisical-core.yml @@ -53,8 +53,8 @@ jobs: ct install \ --config ct.yaml \ --charts helm-charts/infisical-standalone-postgres \ - --helm-extra-args="--timeout=600s" \ - --helm-extra-set-args="--set ingress.nginx.enabled=false --set infisical.autoDatabaseSchemaMigration=false --set infisical.replicaCount=1" \ + --helm-extra-args="--timeout=300s" \ + --helm-extra-set-args="--set ingress.nginx.enabled=false --set infisical.autoDatabaseSchemaMigration=false --set infisical.replicaCount=1 --set infisical.image.tag=v0.132.2-postgres" \ --namespace infisical-standalone-postgres release: diff --git a/helm-charts/infisical-standalone-postgres/Chart.yaml b/helm-charts/infisical-standalone-postgres/Chart.yaml index 51975315e..2c55b16f5 100644 --- a/helm-charts/infisical-standalone-postgres/Chart.yaml +++ b/helm-charts/infisical-standalone-postgres/Chart.yaml @@ -7,7 +7,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.6.1 +version: 1.6.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to From 82634983ce8881fe05aa038d6d384e1df6856520 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Thu, 3 Jul 2025 05:19:30 +0400 Subject: [PATCH 6/6] Update Chart.yaml --- helm-charts/infisical-standalone-postgres/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-charts/infisical-standalone-postgres/Chart.yaml b/helm-charts/infisical-standalone-postgres/Chart.yaml index 2c55b16f5..51975315e 100644 --- a/helm-charts/infisical-standalone-postgres/Chart.yaml +++ b/helm-charts/infisical-standalone-postgres/Chart.yaml @@ -7,7 +7,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.6.0 +version: 1.6.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to