botkube/resource_config.yaml

192 lines
3.4 KiB
YAML
Raw Normal View History

## Resources you want to watch
resources:
- name: pod # Name of the resources e.g pod, deployment, ingress, etc.
namespaces: # List of namespaces, "all" will watch all the namespaces
include:
- all
ignore: # List of namespaces to be ignored (omitempty), used only with include: all
- # example : include [all], ignore [x,y,z]
events: # List of lifecycle events you want to receive, e.g create, update, delete, error OR all
2019-01-03 08:19:09 +00:00
- create
- delete
- error
- name: service
namespaces:
include:
- all
ignore:
-
events:
2019-01-03 08:19:09 +00:00
- create
- delete
- error
- name: deployment
namespaces:
include:
- all
ignore:
-
events:
2019-01-03 08:19:09 +00:00
- create
- update
- delete
- update
- error
- name: statefulset
namespaces:
include:
- all
ignore:
-
events:
2019-01-03 08:19:09 +00:00
- create
- update
- delete
- error
- name: ingress
namespaces:
include:
- all
ignore:
-
events:
2019-01-03 08:19:09 +00:00
- create
- delete
- error
- name: node
namespaces:
include:
- all
ignore:
-
events:
2019-01-03 08:19:09 +00:00
- create
- delete
- error
- name: namespace
namespaces:
include:
- all
ignore:
-
events:
2019-01-03 08:19:09 +00:00
- create
- delete
- error
- name: persistentvolume
namespaces:
include:
- all
ignore:
-
events:
2019-01-03 08:19:09 +00:00
- create
- delete
- error
- name: persistentvolumeclaim
namespaces:
include:
- all
ignore:
-
events:
2019-01-03 08:19:09 +00:00
- create
- delete
- error
- name: secret
namespaces:
include:
- all
ignore:
-
events:
2019-01-03 08:19:09 +00:00
- create
- delete
- error
- name: configmap
namespaces:
include:
- all
ignore:
-
events:
2019-01-03 08:19:09 +00:00
- create
- delete
- error
- name: daemonset
namespaces:
include:
- all
ignore:
-
events:
2019-01-03 08:19:09 +00:00
- create
- delete
- error
- name: job
namespaces:
include:
- all
ignore:
-
events:
2019-01-03 08:19:09 +00:00
- create
- update
- delete
- error
- name: role
namespaces:
include:
- all
ignore:
-
events:
2019-01-03 08:19:09 +00:00
- create
- delete
- error
- name: rolebinding
namespaces:
include:
- all
ignore:
-
events:
2019-01-03 08:19:09 +00:00
- create
- delete
- error
- name: clusterrole
namespaces:
include:
- all
ignore:
-
events:
2019-01-03 08:19:09 +00:00
- create
- delete
- error
- name: clusterrolebinding
namespaces:
include:
- all
ignore:
-
events:
- create
- delete
- error
2019-01-03 08:19:09 +00:00
# Check true if you want to receive recommendations
# about the best practices for the created resource
recommendations: true
2019-01-15 07:37:40 +00:00
# Setting to support multiple clusters
settings:
# Cluster name to differentiate incoming messages
clustername: not-configured
# Set true to enable kubectl commands execution
2019-01-15 07:37:40 +00:00
allowkubectl: false
# Set true to enable config watcher
configwatcher: true
# Set false to disable upgrade notification
upgradeNotifier: true