From 8d6bd5d537551843ab68da243d592f5b16004ec0 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Wed, 26 Mar 2025 06:27:05 +0400 Subject: [PATCH] feat(helm): tolerations & nodeSelector support --- helm-charts/infisical-standalone-postgres/CHANGELOG.md | 9 +++++++++ helm-charts/infisical-standalone-postgres/Chart.yaml | 2 +- .../templates/infisical.yaml | 4 ++++ helm-charts/infisical-standalone-postgres/values.yaml | 4 +++- 4 files changed, 17 insertions(+), 2 deletions(-) diff --git a/helm-charts/infisical-standalone-postgres/CHANGELOG.md b/helm-charts/infisical-standalone-postgres/CHANGELOG.md index 80b3d7fcce..8e2829756d 100644 --- a/helm-charts/infisical-standalone-postgres/CHANGELOG.md +++ b/helm-charts/infisical-standalone-postgres/CHANGELOG.md @@ -1,3 +1,12 @@ +## 1.5.0 (March 26, 2025) + +Changes: +* Added support for Kubernetes pod scheduling customization via `nodeSelector` and `tolerations` + +Features: +* `nodeSelector`: Configure pod placement on nodes with specific labels +* `tolerations`: Enable pods to schedule on tainted nodes + ## 1.4.0 (November 06, 2024) Changes: diff --git a/helm-charts/infisical-standalone-postgres/Chart.yaml b/helm-charts/infisical-standalone-postgres/Chart.yaml index a4cbc49c77..1f7efa8daa 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.4.0 +version: 1.5.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 diff --git a/helm-charts/infisical-standalone-postgres/templates/infisical.yaml b/helm-charts/infisical-standalone-postgres/templates/infisical.yaml index 04856406e5..66a430e141 100644 --- a/helm-charts/infisical-standalone-postgres/templates/infisical.yaml +++ b/helm-charts/infisical-standalone-postgres/templates/infisical.yaml @@ -33,6 +33,10 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} + {{- with $infisicalValues.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} {{- if $infisicalValues.image.imagePullSecrets }} imagePullSecrets: {{- toYaml $infisicalValues.image.imagePullSecrets | nindent 6 }} diff --git a/helm-charts/infisical-standalone-postgres/values.yaml b/helm-charts/infisical-standalone-postgres/values.yaml index 83e6318e04..2bcd0e2833 100644 --- a/helm-charts/infisical-standalone-postgres/values.yaml +++ b/helm-charts/infisical-standalone-postgres/values.yaml @@ -51,6 +51,8 @@ infisical: affinity: {} # -- Tolerations definitions tolerations: [] + # -- Node selector for pod placement + nodeSelector: {} # -- Kubernetes Secret reference containing Infisical root credentials kubeSecretRef: "infisical-secrets" @@ -129,7 +131,7 @@ redis: cluster: # -- Clustered Redis deployment enabled: false - + # -- Requires a password for Redis authentication usePassword: true