mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/kubewatch] Allow disabling Slack notificaitons and use other alternatives (#10054)
Signed-off-by: juan131 <juan@bitnami.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
efc8a7c4e4
commit
5f7618e1b0
@@ -1,5 +1,5 @@
|
||||
name: kubewatch
|
||||
version: 0.5.3
|
||||
version: 0.6.0
|
||||
apiVersion: v1
|
||||
appVersion: v0.0.4
|
||||
home: https://github.com/bitnami-labs/kubewatch
|
||||
|
||||
@@ -53,15 +53,20 @@ The following table lists the configurable parameters of the kubewatch chart and
|
||||
| `serviceAccount.create` | If true, create a serviceAccount | `true` |
|
||||
| `serviceAccount.name` | existing ServiceAccount to use (ignored if rbac.create=true) | `` |
|
||||
| `resources` | pod resource requests & limits | `{}` |
|
||||
| `slack.enabled` | Enable Slack notifications | `true` |
|
||||
| `slack.channel` | Slack channel to notify | `""` |
|
||||
| `slack.token` | Slack API token | `""` |
|
||||
| `hipchat.enabled` | Enable HipChat notifications | `false` |
|
||||
| `hipchat.url` | HipChat URL | `""` |
|
||||
| `hipchat.room` | HipChat room to notify | `""` |
|
||||
| `hipchat.token` | HipChat token | `""` |
|
||||
| `mattermost.enabled` | Enable Mattermost notifications | `false` |
|
||||
| `mattermost.channel` | Mattermost channel to notify | `""` |
|
||||
| `mattermost.username` | Mattermost user to notify | `""` |
|
||||
| `mattermost.url` | Mattermost URL | `""` |
|
||||
| `flock.enabled` | Enable Flock notifications | `false` |
|
||||
| `flock.url` | Flock URL | `""` |
|
||||
| `webhook.enabled` | Enable Webhook notifications | `false` |
|
||||
| `webhook.url` | Webhook URL | `""` |
|
||||
| `tolerations` | List of node taints to tolerate (requires Kubernetes >= 1.6) | `[]` |
|
||||
| `resourcesToWatch` | list of resources which kubewatch should watch and notify slack | `{pod: true, deployment: true}` |
|
||||
|
||||
@@ -10,23 +10,23 @@ metadata:
|
||||
data:
|
||||
.kubewatch.yaml: |
|
||||
handler:
|
||||
{{- if .Values.slack }}
|
||||
{{- if .Values.slack.enabled }}
|
||||
slack:
|
||||
{{ toYaml .Values.slack | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.hipchat }}
|
||||
{{- if .Values.hipchat.enabled }}
|
||||
hipchat:
|
||||
{{ toYaml .Values.hipchat | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.mattermost }}
|
||||
{{- if .Values.mattermost.enabled }}
|
||||
mattermost:
|
||||
{{ toYaml .Values.mattermost | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.flock }}
|
||||
{{- if .Values.flock.enabled }}
|
||||
flock:
|
||||
{{ toYaml .Values.flock | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.webhook }}
|
||||
{{- if .Values.webhook.enabled }}
|
||||
webhook:
|
||||
{{ toYaml .Values.webhook | indent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -5,25 +5,29 @@
|
||||
# imageRegistry:
|
||||
|
||||
slack:
|
||||
enabled: true
|
||||
# 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:
|
||||
# room: ""
|
||||
# token: ""
|
||||
# url: ""
|
||||
# mattermost:
|
||||
# channel: ""
|
||||
# url: ""
|
||||
# username: ""
|
||||
# flock:
|
||||
# url: ""
|
||||
# webhook:
|
||||
# url: ""
|
||||
hipchat:
|
||||
enabled: false
|
||||
# room: ""
|
||||
# token: ""
|
||||
# url: ""
|
||||
mattermost:
|
||||
enabled: false
|
||||
# channel: ""
|
||||
# url: ""
|
||||
# username: ""
|
||||
flock:
|
||||
enabled: false
|
||||
# url: ""
|
||||
webhook:
|
||||
enabled: false
|
||||
# url: ""
|
||||
|
||||
# Resources to watch
|
||||
resourcesToWatch:
|
||||
|
||||
Reference in New Issue
Block a user