vmware-archive/kubewatch

MS Teams handler not working in Helm chart

Closed this issue · 2 comments

Hi, I'm currently using the version 1.0.13 of the bitnami/kubewatch chart. I know the chart doesn't support MS Teams in the values yet so I edited the config map once the helm release was installed.

My config map looks like this:

apiVersion: v1
data:
  .kubewatch.yaml: |
    handler:
      msteams:
        webhookurl: <REDACTED>
    resource:
      daemonset: false
      deployment: true
      job: false
      persistentvolume: false
      pod: false
      replicaset: false
      replicationcontroller: false
      services: false
kind: ConfigMap

Using the handler described above doesn't work. However, if I replace it for a normal webhook it sends a message to the Teams channel successfully.

    handler:
          webhook:
              url: <REDACTED>

Is the msteams handler actually working? The chart is using the version 0.0.4 of kubewatch, and 0.0.4 included the commits related to the msteams handler.

Hey,

I have the following configuration for integration with teams, however when a new namespace gets created im not getting any notification, any ideas?

apiVersion: v1
kind: ConfigMap
metadata:
  name: kubewatch
  namespace: kube-system
data:
  .kubewatch.yaml: |
    namespace: ""
    handler:
      webhook:
        url: <REDACTED>
    resource:
      namespace: true

bitnami/kubectl:latest
bitnami/kubewatch:latest

@jonbesga I proposed a fix in bitnami/charts#3189