requested changes

This commit is contained in:
Daniel Hougaard
2025-10-20 17:45:27 +04:00
parent ccaf4d78d1
commit 2b8e2d67ee
5 changed files with 7 additions and 8 deletions

View File

@@ -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)

View File

@@ -31,4 +31,4 @@ dependencies:
- name: reloader
version: 2.2.3
repository: https://stakater.github.io/stakater-charts
condition: reloader.enabled
condition: infisical.redeployOnSecretChange

View File

@@ -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 }}

View File

@@ -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 }}

View File

@@ -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