vmware-archive / kubewatch

Watch k8s events and trigger Handlers
Apache License 2.0
2.44k stars 442 forks source link

namespace missed in slack text message? #267

Open dmitry-mightydevops opened 3 years ago

dmitry-mightydevops commented 3 years ago

image

HELM Chart version:

repoURL: https://charts.bitnami.com/bitnami
targetRevision: 3.2.4

values:

slack:
  enabled: true
  channel: "alarms"
  token: "xoxb-...."

webhook:
  enabled: false
  # url: ""
smtp:
  enabled: false

# namespace to watch, leave it empty for watching all.
namespaceToWatch: ""

# Resources to watch
resourcesToWatch:
  deployment: true
  replicationcontroller: false
  replicaset: false
  daemonset: false
  services: true
  pod: true
  job: true
  persistentvolume: true
  ingress: true
  secrets: true
  nodes: true

replicaCount: 1

resources:
  limits: 
    cpu: 200m
    memory: 256Mi
  requests: 
    cpu: 200m
    memory: 10Mi

livenessProbe:
  enabled: false
  initialDelaySeconds: 10
  periodSeconds: 10
  timeoutSeconds: 1
  failureThreshold: 3
  successThreshold: 1
readinessProbe:
  enabled: false
  initialDelaySeconds: 10
  periodSeconds: 10
  timeoutSeconds: 1
  failureThreshold: 3
  successThreshold: 1

nodeSelector: 
  ops: "true"

podLabels: {}
podAnnotations: {}

rbac:
  create: true

serviceAccount:
  create: true
  name: "kubewatch-sa"
aakarshg commented 3 years ago

I notice the same thing too

LaurentDumont commented 3 years ago

Seeing the same thing. I first thought it was because I was watching a single namespace but I see that you are watching multiple namespaces.

In my case, I am also using the webhook handler and not Slack.

akefirad commented 3 years ago

We're using Slack and have the same issue.

ypicard commented 3 years ago

Same here!