You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to set up falco+falcosidekick with web-ui and externalRedis enabled.
In deployment-ui, the initContainer wait-redis is expecting the volumeMount with the volume scriptsLINK.
This volume is of type configMap and should be available under configmap-uiLINK. This is always the case (for both cases where either redis or externalRedis is enabled).
However, we see that this configMap will be missing in the case of externalRedis bevause .Values.webui.redis.enabled is required to be trueLINK.
This issue is failing the release/deployment with the following event:
Suggested fix
Remove the second condition from the first condition in configmap-ui as follows
--- a/charts/falcosidekick/templates/configmap-ui.yaml
+++ b/charts/falcosidekick/templates/configmap-ui.yaml
@@ -1,4 +1,4 @@
-{{- if and (.Values.webui.enabled) (.Values.webui.redis.enabled) -}}
+{{- if .Values.webui.enabled -}}
---
apiVersion: v1
kind: ConfigMap
How to reproduce it
Install Falco with the following values file:
Describe the bug
I am trying to set up falco+falcosidekick with web-ui and externalRedis enabled.
In
deployment-ui
, the initContainerwait-redis
is expecting the volumeMount with the volumescripts
LINK.This volume is of type configMap and should be available under
configmap-ui
LINK. This is always the case (for both cases where either redis or externalRedis is enabled).However, we see that this configMap will be missing in the case of externalRedis bevause
.Values.webui.redis.enabled
is required to betrue
LINK.This issue is failing the release/deployment with the following event:
Suggested fix
Remove the second condition from the first condition in
configmap-ui
as followsHow to reproduce it
Install Falco with the following values file:
Expected behaviour
I expect falco deployment (with falcosidekick-webui+externalredis) to be successful.
Environment
Falco version: 0.40.0 (x86_64)
helm install falco -f values.yml --namespace falco --create-namespace falcosecurity/falco
The text was updated successfully, but these errors were encountered: