forked from billimek/k8s-gitops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbotkube.yaml
196 lines (196 loc) · 4.53 KB
/
botkube.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: botkube
namespace: monitoring
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://infracloudio.github.io/charts
chart: botkube
version: v0.12.1
sourceRef:
kind: HelmRepository
name: infracloudio-charts
namespace: flux-system
interval: 5m
values:
image:
repository: infracloudio/botkube
tag: v0.12.1
pullPolicy: Always
serviceMonitor:
enabled: true
config:
settings:
clustername: k8s
resources:
- name: v1/pods
namespaces:
include:
- all
ignore:
- rook-ceph
- kube-system
events:
- create
- delete
- name: v1/services
namespaces:
include:
- all
events:
- create
- delete
- error
- name: apps/v1/deployments
namespaces:
include:
- all
events:
- create
- update
- delete
- error
updateSetting:
includeDiff: true
fields:
- spec.template.spec.containers[*].image
- name: apps/v1/statefulsets
namespaces:
include:
- all
events:
- create
- update
- delete
- error
updateSetting:
includeDiff: true
fields:
- spec.template.spec.containers[*].image
- name: networking.k8s.io/v1beta1/ingresses
namespaces:
include:
- all
events:
- create
- delete
- error
- name: v1/nodes
namespaces:
include:
- all
events:
- create
- delete
- error
- name: v1/namespaces
namespaces:
include:
- all
events:
- create
- delete
- error
- name: v1/persistentvolumes
namespaces:
include:
- all
events:
- create
- delete
- error
- name: v1/persistentvolumeclaims
namespaces:
include:
- all
events:
- create
- delete
- error
- name: v1/secrets
namespaces:
include:
- all
events:
- create
- delete
- error
# - name: v1/configmaps
# namespaces:
# include:
# - all
# ignore:
# - rook-ceph
# events:
# - delete
# - error
- name: apps/v1/daemonsets
namespaces:
include:
- all
events:
- create
- delete
- error
- update
updateSetting:
includeDiff: true
fields:
- spec.template.spec.containers[*].image
# - name: batch/v1/jobs
# namespaces:
# include:
# - all
# ignore:
# - rook-ceph
# - kube-system
# events:
# - create
# - update
# - delete
# - error
# updateSetting:
# includeDiff: true
# fields:
# - spec.template.spec.containers[*].image
# - status.conditions[*].type
- name: rbac.authorization.k8s.io/v1/roles
namespaces:
include:
- all
events:
- create
- delete
- error
- name: rbac.authorization.k8s.io/v1/rolebindings
namespaces:
include:
- all
events:
- create
- delete
- error
- name: rbac.authorization.k8s.io/v1/clusterroles
namespaces:
include:
- all
events:
- create
- delete
- error
- name: rbac.authorization.k8s.io/v1/clusterrolebindings
namespaces:
include:
- all
events:
- create
- delete
- error
valuesFrom:
- kind: Secret
name: "botkube-helm-values"
optional: false