From 2b8e2d67ee897181694f926ef221276c553b1892 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Mon, 20 Oct 2025 17:45:27 +0400 Subject: [PATCH] requested changes --- helm-charts/infisical-standalone-postgres/CHANGELOG.md | 2 +- helm-charts/infisical-standalone-postgres/Chart.yaml | 2 +- .../infisical-standalone-postgres/templates/infisical.yaml | 2 +- .../templates/schema-migration-job.yaml | 2 +- helm-charts/infisical-standalone-postgres/values.yaml | 7 +++---- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/helm-charts/infisical-standalone-postgres/CHANGELOG.md b/helm-charts/infisical-standalone-postgres/CHANGELOG.md index ac6906de3..a0e7216e0 100644 --- a/helm-charts/infisical-standalone-postgres/CHANGELOG.md +++ b/helm-charts/infisical-standalone-postgres/CHANGELOG.md @@ -1,7 +1,7 @@ ## 1.7.2 (October 20, 2025) Changes: * Added automatic reloading support for the Infisical deployment when the `infisical.kubeSecretRef` kubernetes secret changes. - * Configurable by `reloader.enabled: true|false`. Defaults to `true`. + * Configurable by `infisical.redeployOnSecretChange: true|false`. Defaults to `true`. ## 1.7.1 (October 10, 2025) diff --git a/helm-charts/infisical-standalone-postgres/Chart.yaml b/helm-charts/infisical-standalone-postgres/Chart.yaml index 543043843..0d4381e72 100644 --- a/helm-charts/infisical-standalone-postgres/Chart.yaml +++ b/helm-charts/infisical-standalone-postgres/Chart.yaml @@ -31,4 +31,4 @@ dependencies: - name: reloader version: 2.2.3 repository: https://stakater.github.io/stakater-charts - condition: reloader.enabled + condition: infisical.redeployOnSecretChange diff --git a/helm-charts/infisical-standalone-postgres/templates/infisical.yaml b/helm-charts/infisical-standalone-postgres/templates/infisical.yaml index 49e7626dd..d4637866b 100644 --- a/helm-charts/infisical-standalone-postgres/templates/infisical.yaml +++ b/helm-charts/infisical-standalone-postgres/templates/infisical.yaml @@ -4,7 +4,7 @@ kind: Deployment metadata: name: {{ include "infisical.fullname" . }} annotations: - {{- if .Values.reloader.enabled }} + {{- if $infisicalValues.redeployOnSecretChange }} secret.reloader.stakater.com/reload: {{ $infisicalValues.kubeSecretRef }} {{- end }} updatedAt: {{ now | date "2006-01-01 MST 15:04:05" | quote }} diff --git a/helm-charts/infisical-standalone-postgres/templates/schema-migration-job.yaml b/helm-charts/infisical-standalone-postgres/templates/schema-migration-job.yaml index a887ae37b..c53c6e3d1 100644 --- a/helm-charts/infisical-standalone-postgres/templates/schema-migration-job.yaml +++ b/helm-charts/infisical-standalone-postgres/templates/schema-migration-job.yaml @@ -15,7 +15,7 @@ spec: app.kubernetes.io/managed-by: {{ .Release.Service | quote }} app.kubernetes.io/instance: {{ .Release.Name | quote }} helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" - {{- if .Values.reloader.enabled }} + {{- if $infisicalValues.redeployOnSecretChange }} annotations: secret.reloader.stakater.com/reload: {{ $infisicalValues.kubeSecretRef }} {{- end }} diff --git a/helm-charts/infisical-standalone-postgres/values.yaml b/helm-charts/infisical-standalone-postgres/values.yaml index 770b4f5b8..202a9008a 100644 --- a/helm-charts/infisical-standalone-postgres/values.yaml +++ b/helm-charts/infisical-standalone-postgres/values.yaml @@ -13,6 +13,9 @@ infisical: # -- Automatically migrates new database schema when deploying autoDatabaseSchemaMigration: true + # -- redeployOnSecretChange is used to reload the Infisical instance when the Kubernetes secret referenced by `infisical.kubeSecretRef` is updated + redeployOnSecretChange: true + autoBootstrap: # -- Enable auto-bootstrap of the Infisical instance enabled: false @@ -183,7 +186,3 @@ redis: # -- Redis deployment type (e.g., standalone or cluster) architecture: standalone - -# -- Reloader is used to reload the Infisical instance when the Kubernetes secret referenced by `infisical.kubeSecretRef` is updated -reloader: - enabled: true