Commit 2ee5d69
[bitnami/kubernetes-event-exporter] feat: configurable cluster role rules (#20875)
* [bitnami/kubernetes-event-exporter] feat: allow cluster role rules to be configured
The cluster role template contains a hardcoded catchall rule which is too broad. Allow the cluster
role rules to be overridden by the user with a default value that follows the principle of least
privilege. I tested this by:
- applying this rule in my own cluster and observing the kubernetes-event-exporter logs to ensure
there were no permissions errors thrown
- running `helm template -g . --debug` in the chart dir and observing the output
Signed-off-by: Gregory Whorley <greg@whorley.com>
* bump chart version
Signed-off-by: Gregory Whorley <greg@whorley.com>
* fix param
Signed-off-by: Gregory Whorley <greg@whorley.com>
* Update README.md with readme-generator-for-helm
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
* change permissions back to original setting
Signed-off-by: Gregory Whorley <greg@whorley.com>
---------
Signed-off-by: Gregory Whorley <greg@whorley.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Signed-off-by: Juan José Martos <jotamartos@gmail.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Juan José Martos <jotamartos@gmail.com>1 parent d9ca920 commit 2ee5d69
File tree
4 files changed
+11
-4
lines changed- bitnami/kubernetes-event-exporter
- templates
4 files changed
+11
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
136 | 142 | | |
137 | 143 | | |
138 | 144 | | |
| |||
0 commit comments