falcosecurity / charts

Community managed Helm charts for running Falco with Kubernetes
Apache License 2.0
245 stars 290 forks source link

falcosidekick: WEBUI_URL - port incorrectly rendered as float64 #686

Closed tberreis closed 5 months ago

tberreis commented 5 months ago

Describe the bug

With https://github.com/falcosecurity/charts/pull/685 the webui port was replaced by a variable which seems to be not rendered as expected. The WEBUI_URL is getting a wrong value and falco events are no longer visible within the UI at least for me.

How to reproduce it

Enable the webui, render the secrets.yaml and have a look at the base64 decoded value:

# helm template -s templates/secrets.yaml . | yq '.data.WEBUI_URL|@base64d'
http://release-name-falcosidekick-ui:%!s(float64=2802)

Expected behaviour

The port should be correctly set within the WEBUI_URL. For the example above it would be http://release-name-falcosidekick-ui:2802.

Screenshots

Environment

Additional context

Issif commented 5 months ago

cc @Sryther