Skip to content

Commit

Permalink
Merge pull request #1 from marvasgit/helm-chart-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marvasgit authored Dec 14, 2023
2 parents ee3f7f2 + 94e0208 commit 32a469f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 25 deletions.
14 changes: 3 additions & 11 deletions charts/kubestatewatch/configs/appsettings.json
Original file line number Diff line number Diff line change
@@ -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 }},
Expand All @@ -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 }},
Expand All @@ -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 }}
Expand Down Expand Up @@ -91,5 +83,5 @@
},
"namespacesconfig": {
"exclude": {{ .Values.namespacesconfig.exclude | toJson }}
}
},
}
27 changes: 13 additions & 14 deletions charts/kubestatewatch/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -53,7 +52,7 @@ flock:
enabled: false
url: ""
msteams:
enabled: false
enabled: true
webhookurl: "XXXX"
webhook:
enabled: false
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 32a469f

Please sign in to comment.