vmware-archive/kubewatch

KW_MSTEAMS_WEBHOOKURL is ignored

Opened this issue · 0 comments

Hello everyone,

I try to set the webhook url for the teams handler using the environment variable KW_MSTEAMS_WEBHOOKURL populated by a K8s secret. I can see the environment variable is set correctly within the container but kubewatch seems to ignore it. No errors or helpful output. If I set it directly using the values of the helm chart, it works.

Helm-Chart: 3.0.0
Version: 0.1.0-debian-10-r126

It seems that some override takes place but I can't see where it comes from.

https://github.com/bitnami-labs/kubewatch/blob/84a34db93ff9935ce133f4eb1175187154253685/pkg/handlers/msteam/msteam.go#L119