Commit bf667f1
authored
chore: Describe RBAC rules, remove unnecessary rules (#953)
* chore: Describe RBAC rules, remove unnecessary rules
* chore: Update changelog
* chore: Remove the get for customresourcedefinitions for the operator clusterrole.
* chore: Remove the nodes list/watch rule for the operator clusterrole.
* chore: Add comment to the rule that was missing one
* chore: Remove the configmaps/secrets/serviceaccounts/services get rule for the product clusterrole
* fix: Always allow list/watch on customresourcedefinitions for the operator
Note: required by the startup condition regardless of crd maintenance
* chore: Simplify RBAC rule descriptions
* chore: Remove the events.k8s.io rule from the product ClusterRole. The operator manages the Kubernetes events.
* chore: Keep the rbac.authorization.k8s.io rules within a ClusterRole close to each other
* chore: Split the roles.yaml into separate files for clusterrole-operator.yaml and clusterrole-product.yaml
* chore(nix): Update crate hashes
* Update CHANGELOG.md1 parent 682750c commit bf667f1
5 files changed
Lines changed: 70 additions & 93 deletions
File tree
- deploy/helm/kafka-operator/templates
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
7 | 13 | | |
8 | 14 | | |
9 | 15 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 25 additions & 75 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 9 | | |
17 | 10 | | |
18 | 11 | | |
19 | 12 | | |
20 | 13 | | |
21 | 14 | | |
22 | 15 | | |
| 16 | + | |
| 17 | + | |
23 | 18 | | |
24 | 19 | | |
25 | 20 | | |
26 | | - | |
27 | 21 | | |
28 | | - | |
29 | 22 | | |
30 | | - | |
31 | 23 | | |
32 | 24 | | |
33 | 25 | | |
34 | 26 | | |
35 | 27 | | |
36 | 28 | | |
37 | 29 | | |
38 | | - | |
39 | 30 | | |
| 31 | + | |
| 32 | + | |
40 | 33 | | |
41 | 34 | | |
42 | 35 | | |
| |||
47 | 40 | | |
48 | 41 | | |
49 | 42 | | |
50 | | - | |
51 | 43 | | |
| 44 | + | |
52 | 45 | | |
53 | | - | |
| 46 | + | |
54 | 47 | | |
55 | | - | |
| 48 | + | |
56 | 49 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
64 | 55 | | |
65 | | - | |
| 56 | + | |
66 | 57 | | |
67 | | - | |
| 58 | + | |
68 | 59 | | |
69 | 60 | | |
70 | 61 | | |
71 | 62 | | |
72 | 63 | | |
73 | 64 | | |
74 | | - | |
75 | 65 | | |
| 66 | + | |
76 | 67 | | |
77 | 68 | | |
78 | 69 | | |
| |||
83 | 74 | | |
84 | 75 | | |
85 | 76 | | |
86 | | - | |
87 | | - | |
| 77 | + | |
| 78 | + | |
88 | 79 | | |
89 | 80 | | |
90 | 81 | | |
91 | 82 | | |
92 | 83 | | |
93 | | - | |
94 | 84 | | |
95 | 85 | | |
96 | 86 | | |
97 | 87 | | |
98 | 88 | | |
| 89 | + | |
99 | 90 | | |
100 | 91 | | |
101 | 92 | | |
102 | | - | |
| 93 | + | |
103 | 94 | | |
104 | 95 | | |
105 | 96 | | |
106 | 97 | | |
107 | 98 | | |
108 | 99 | | |
109 | 100 | | |
| 101 | + | |
110 | 102 | | |
111 | 103 | | |
112 | 104 | | |
113 | 105 | | |
114 | 106 | | |
115 | 107 | | |
116 | 108 | | |
117 | | - | |
118 | 109 | | |
| 110 | + | |
119 | 111 | | |
120 | 112 | | |
121 | 113 | | |
122 | 114 | | |
123 | 115 | | |
124 | 116 | | |
| 117 | + | |
125 | 118 | | |
126 | 119 | | |
127 | 120 | | |
128 | 121 | | |
129 | 122 | | |
130 | 123 | | |
131 | | - | |
132 | | - | |
| 124 | + | |
133 | 125 | | |
134 | 126 | | |
135 | 127 | | |
136 | 128 | | |
137 | 129 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | 130 | | |
143 | 131 | | |
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 | 132 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
| 133 | + | |
175 | 134 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
| 135 | + | |
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments