Skip to content
This repository was archived by the owner on Apr 8, 2022. It is now read-only.
This repository was archived by the owner on Apr 8, 2022. It is now read-only.

helm install kubewatch with values.yaml , configmap still use slack webhook(did not use it) #255

Open
@54853315

Description

@54853315

Hi everyone, I encountered a very strange problem.

I use helm chart (0.1.0) to update and deploy :

helm upgrade --install --create-namespace -n kube-watch -f values.yaml kubewatch bitnami/kubewatch

This is my configuration part:

slack:
  enabled: false
  # Slack channel to notify
  channel: "XXXX"
  # Slack bots token. Create using: https://my.slack.com/services/new/bot
  # and invite the bot to your channel using: /join @botname
  token: "XXXX"

hipchat:
  enabled: false
  # room: ""
  # token: ""
  # url: ""
mattermost:
  enabled: false
  # channel: ""
  # url: ""
  # username: ""
flock:
  enabled: false
  # url: ""
msteams:
  enabled: false
  # webhookurl: ""
webhook:
  enabled: true
  url: "http://wechat-webhook:8080"
smtp:
  enabled: false

And logs keep reporting (invalid_auth):

time="2021-01-11T09:43:08Z" level=info msg="Processing update to pod: *****-com-staging/backend-67fbf8d7dd-ntbm9" pkg=kubewatch-pod
2021/01/11 09:43:09 invalid_auth

Check the configmap, I get is:

Data
====
.kubewatch.yaml:
----
handler:
  slack:
    channel: XXXX
    enabled: true
    token: XXXX
resource:
  daemonset: false
  deployment: true
  job: false
  persistentvolume: false
  pod: true
  replicaset: false
  replicationcontroller: false
  services: false
namespace: ""

Events:  <none>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions