From 10161c82c0af9a4ff079b2f019eb12410274d4d6 Mon Sep 17 00:00:00 2001 From: Thomas Labarussias Date: Wed, 17 Jul 2024 17:10:30 +0200 Subject: [PATCH] Add a condition to create the secrets for the redis only if the webui is deployed Signed-off-by: Thomas Labarussias --- charts/falcosidekick/CHANGELOG.md | 18 +++++++++++------- charts/falcosidekick/Chart.yaml | 2 +- charts/falcosidekick/templates/secrets-ui.yaml | 2 +- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/charts/falcosidekick/CHANGELOG.md b/charts/falcosidekick/CHANGELOG.md index ac595c0c..4b4f8a31 100644 --- a/charts/falcosidekick/CHANGELOG.md +++ b/charts/falcosidekick/CHANGELOG.md @@ -5,25 +5,29 @@ numbering uses [semantic versioning](http://semver.org). Before release 0.1.20, the helm chart can be found in `falcosidekick` [repository](https://github.com/falcosecurity/falcosidekick/tree/master/deploy/helm/falcosidekick). +## 0.8.3 + +- Add a condition to create the secrets for the redis only if the webui is deployed + ## 0.8.2 - Fix redis-availability check of the UI init-container in case externalRedis is enabled ## 0.8.1 -- allow to set resources, securityContext and image overwrite for wait-redis initContainer +- Allow to set resources, securityContext and image overwrite for wait-redis initContainer ## 0.8.0 -- ugrade to Falcosidekick 2.29.0 -- allow to set custom labels and annotations to set to all resources -- allow to use an existing secrets and values for the env vars at the same time -- fix missing ingressClassName settings in the values.yaml -- add of an initContainer to check if the redis for falcosidekick-ui is up +- Ugrade to Falcosidekick 2.29.0 +- Allow to set custom labels and annotations to set to all resources +- Allow to use an existing secrets and values for the env vars at the same time +- Fix missing ingressClassName settings in the values.yaml +- Add of an initContainer to check if the redis for falcosidekick-ui is up ## 0.7.22 -- upgrade redis-stack image to 7.2.0-v11 +- Upgrade redis-stack image to 7.2.0-v11 ## 0.7.21 diff --git a/charts/falcosidekick/Chart.yaml b/charts/falcosidekick/Chart.yaml index 4621acbb..048f95fd 100644 --- a/charts/falcosidekick/Chart.yaml +++ b/charts/falcosidekick/Chart.yaml @@ -3,7 +3,7 @@ appVersion: 2.29.0 description: Connect Falco to your ecosystem icon: https://raw.githubusercontent.com/falcosecurity/falcosidekick/master/imgs/falcosidekick_color.png name: falcosidekick -version: 0.8.2 +version: 0.8.3 keywords: - monitoring - security diff --git a/charts/falcosidekick/templates/secrets-ui.yaml b/charts/falcosidekick/templates/secrets-ui.yaml index b995745b..49a7bf87 100644 --- a/charts/falcosidekick/templates/secrets-ui.yaml +++ b/charts/falcosidekick/templates/secrets-ui.yaml @@ -23,7 +23,6 @@ data: {{- if .Values.webui.redis.password }} FALCOSIDEKICK_UI_REDIS_PASSWORD: "{{ .Values.webui.redis.password | b64enc}}" {{- end }} -{{- end }} {{- if eq .Values.webui.redis.existingSecret "" }} --- apiVersion: v1 @@ -46,4 +45,5 @@ data: {{- if .Values.webui.redis.password }} REDIS_ARGS: "{{ printf "--requirepass %s" .Values.webui.redis.password | b64enc}}" {{- end }} +{{- end }} {{- end }} \ No newline at end of file