diff --git a/charts/kubestatewatch/configs/appsettings.json b/charts/kubestatewatch/configs/appsettings.json index 9f4e055e..e68e2c24 100644 --- a/charts/kubestatewatch/configs/appsettings.json +++ b/charts/kubestatewatch/configs/appsettings.json @@ -1,8 +1,8 @@ { "handler": { "msteams": { - "enabled": {{ .Values.msteams.enabled}}, - "webhookurl": {{ .Values.msteams.webhookurl | quote }} + "enabled": "{{ .Values.msteams.enabled }}", + "webhookurl": "{{ .Values.msteams.webhookurl}}" }, "slack": { "enabled": {{ .Values.slack.enabled }}, @@ -16,10 +16,6 @@ "emoji": {{ .Values.slackwebhook.emoji | quote }}, "slackwebhookurl": {{ .Values.slackwebhook.slackwebhookurl | quote }} }, - "discord":{ - "enabled": {{ .Values.discord.enabled }} - "webhook": {{ .Values.discord.webhook }} - }, "hipchat": { "enabled": {{ .Values.hipchat.enabled }}, "room": {{ .Values.hipchat.room | quote }}, @@ -36,10 +32,6 @@ "enabled": {{ .Values.flock.enabled }}, "url": {{ .Values.flock.url | quote }} }, - "msteams": { - "enabled": {{ .Values.msteams.enabled }}, - "webhookurl": {{ .Values.msteams.webhookurl | quote }} - }, "webhook": { "enabled": {{ .Values.webhook.enabled }}, "url": {{ .Values.webhook.url | quote }} @@ -91,5 +83,5 @@ }, "namespacesconfig": { "exclude": {{ .Values.namespacesconfig.exclude | toJson }} - } + }, } diff --git a/charts/kubestatewatch/values.yaml b/charts/kubestatewatch/values.yaml index cd88f2f8..27345c99 100644 --- a/charts/kubestatewatch/values.yaml +++ b/charts/kubestatewatch/values.yaml @@ -18,9 +18,8 @@ volumes: items: - key: appsettings.json path: appsettings.json - image: - registry: #default is Docker + registry: docker.io repository: docmarr/kubestatewatch tag: 1.0.2 pullPolicy: IfNotPresent @@ -53,7 +52,7 @@ flock: enabled: false url: "" msteams: - enabled: false + enabled: true webhookurl: "XXXX" webhook: enabled: false @@ -82,23 +81,23 @@ extraHandlers: {} message: title: "XXXX" diff: - ignorePath: - #- "/metadata" - #- "/spec/template/metadata" - #- "/status" - #- "/spec/replicas" - #- "/lastTimestamp" - #- "/data/status" - #- "/count" + ignorePath: [] + # - "/metadata" + # - "/spec/template/metadata" + # - "/status" + # - "/spec/replicas" + # - "/lastTimestamp" + # - "/data/status" + # - "/count" # - "/metadata" # - "/status" # - "/metadata/replicas" namespacesconfig: - include: + #include: [] exclude: - #- "kube-system" - #- "cattle-fleet-system" + - "kube-system" + - "cattle-fleet-system" resourcesToWatch: configmap: true daemonset: true