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
@@ -1,7 +1,7 @@
## 1.7.2 (October 20, 2025) ## 1.7.2 (October 20, 2025)
Changes: Changes:
* Added automatic reloading support for the Infisical deployment when the `infisical.kubeSecretRef` kubernetes secret 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) ## 1.7.1 (October 10, 2025)
@@ -31,4 +31,4 @@ dependencies:
- name: reloader - name: reloader
version: 2.2.3 version: 2.2.3
repository: https://stakater.github.io/stakater-charts repository: https://stakater.github.io/stakater-charts
condition: reloader.enabled condition: infisical.redeployOnSecretChange
@@ -4,7 +4,7 @@ kind: Deployment
metadata: metadata:
name: {{ include "infisical.fullname" . }} name: {{ include "infisical.fullname" . }}
annotations: annotations:
{{- if .Values.reloader.enabled }} {{- if $infisicalValues.redeployOnSecretChange }}
secret.reloader.stakater.com/reload: {{ $infisicalValues.kubeSecretRef }} secret.reloader.stakater.com/reload: {{ $infisicalValues.kubeSecretRef }}
{{- end }} {{- end }}
updatedAt: {{ now | date "2006-01-01 MST 15:04:05" | quote }} updatedAt: {{ now | date "2006-01-01 MST 15:04:05" | quote }}
@@ -15,7 +15,7 @@ spec:
app.kubernetes.io/managed-by: {{ .Release.Service | quote }} app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
app.kubernetes.io/instance: {{ .Release.Name | quote }} app.kubernetes.io/instance: {{ .Release.Name | quote }}
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
{{- if .Values.reloader.enabled }} {{- if $infisicalValues.redeployOnSecretChange }}
annotations: annotations:
secret.reloader.stakater.com/reload: {{ $infisicalValues.kubeSecretRef }} secret.reloader.stakater.com/reload: {{ $infisicalValues.kubeSecretRef }}
{{- end }} {{- end }}
@@ -13,6 +13,9 @@ infisical:
# -- Automatically migrates new database schema when deploying # -- Automatically migrates new database schema when deploying
autoDatabaseSchemaMigration: true autoDatabaseSchemaMigration: true
# -- redeployOnSecretChange is used to reload the Infisical instance when the Kubernetes secret referenced by `infisical.kubeSecretRef` is updated
redeployOnSecretChange: true
autoBootstrap: autoBootstrap:
# -- Enable auto-bootstrap of the Infisical instance # -- Enable auto-bootstrap of the Infisical instance
enabled: false enabled: false
@@ -183,7 +186,3 @@ redis:
# -- Redis deployment type (e.g., standalone or cluster) # -- Redis deployment type (e.g., standalone or cluster)
architecture: standalone architecture: standalone
# -- Reloader is used to reload the Infisical instance when the Kubernetes secret referenced by `infisical.kubeSecretRef` is updated
reloader:
enabled: true