From 30c29661750d507bc8717ad749ddcd8f1537345e Mon Sep 17 00:00:00 2001 From: Thomas Labarussias Date: Tue, 24 Oct 2023 15:03:44 +0200 Subject: [PATCH] fix the condition for the missing cert files Signed-off-by: Thomas Labarussias --- charts/falcosidekick/CHANGELOG.md | 4 ++++ charts/falcosidekick/Chart.yaml | 2 +- charts/falcosidekick/templates/deployment.yaml | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/charts/falcosidekick/CHANGELOG.md b/charts/falcosidekick/CHANGELOG.md index 3b053b649..52d8ea873 100644 --- a/charts/falcosidekick/CHANGELOG.md +++ b/charts/falcosidekick/CHANGELOG.md @@ -5,6 +5,10 @@ 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.7.8 + +* Fix the condition for missing cert files + ## 0.7.7 * Support extraArgs in the helm chart diff --git a/charts/falcosidekick/Chart.yaml b/charts/falcosidekick/Chart.yaml index 5223747f5..bd65b3e50 100644 --- a/charts/falcosidekick/Chart.yaml +++ b/charts/falcosidekick/Chart.yaml @@ -3,7 +3,7 @@ appVersion: 2.28.0 description: Connect Falco to your ecosystem icon: https://raw.githubusercontent.com/falcosecurity/falcosidekick/master/imgs/falcosidekick_color.png name: falcosidekick -version: 0.7.7 +version: 0.7.8 keywords: - monitoring - security diff --git a/charts/falcosidekick/templates/deployment.yaml b/charts/falcosidekick/templates/deployment.yaml index d61863cec..2c52e8adb 100644 --- a/charts/falcosidekick/templates/deployment.yaml +++ b/charts/falcosidekick/templates/deployment.yaml @@ -114,6 +114,7 @@ spec: value: {{ .Values.config.mutualtlsclient.keyfile | quote }} - name: MUTUALTLSCLIENT_CACERTFILE value: {{ .Values.config.mutualtlsclient.cacertfile | quote }} + {{- if .Values.config.tlsserver.deploy }} - name: TLSSERVER_DEPLOY value: {{ .Values.config.tlsserver.deploy | quote }} - name: TLSSERVER_CERTFILE @@ -128,6 +129,7 @@ spec: value: {{ .Values.config.tlsserver.notlsport | quote }} - name: TLSSERVER_NOTLSPATHS value: {{ .Values.config.tlsserver.notlspaths | quote }} + {{- end }} {{- if .Values.config.extraEnv }} {{ toYaml .Values.config.extraEnv | nindent 12 }}