Commit 6a1b062
authored
chore: Describe RBAC rules, remove unnecessary rules (#770)
* chore: Describe RBAC rules, remove unnecessary rules
* chore: Update changelog
* chore: Remove unused customresourcedefinitions get for the operator clusterrole
* fix: Always allow customresourcedefinitions list/watch, else operator startup fails
* chore: Improve comments on rules, add missing comments
* chore: Split the clusterroles between operator and product
* chore: Remove superfluous permissions from the product clusterrole
* chore: Simplify comments
* chore: Remove redundant rules (pods get/list already covered by the "nodes" clusterrole
* chore: Remove unused permissions from the product clusterrole
* chore(nix): Update crate hashes
* chore: Restore permissions that are needed by the topology provider
* fix: Allow clusterroles bind for the operator on the nodes clusterrole too
* Apply suggestions from code review
Co-authored-by: Nick <10092581+NickLarsenNZ@users.noreply.github.com>1 parent a634d52 commit 6a1b062
File tree
5 files changed
+134
-135
lines changed- deploy/helm/hdfs-operator/templates
5 files changed
+134
-135
lines changed| 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: 35 additions & 117 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 | | - | |
17 | | - | |
| 9 | + | |
18 | 10 | | |
19 | 11 | | |
20 | 12 | | |
21 | 13 | | |
22 | 14 | | |
23 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
24 | 19 | | |
25 | 20 | | |
26 | 21 | | |
27 | | - | |
28 | 22 | | |
29 | | - | |
30 | 23 | | |
31 | | - | |
32 | | - | |
33 | 24 | | |
34 | 25 | | |
35 | 26 | | |
36 | 27 | | |
37 | 28 | | |
38 | 29 | | |
39 | | - | |
40 | 30 | | |
| 31 | + | |
41 | 32 | | |
42 | | - | |
| 33 | + | |
43 | 34 | | |
44 | | - | |
| 35 | + | |
45 | 36 | | |
46 | 37 | | |
47 | 38 | | |
48 | 39 | | |
49 | 40 | | |
50 | 41 | | |
51 | | - | |
52 | | - | |
| 42 | + | |
53 | 43 | | |
54 | | - | |
| 44 | + | |
55 | 45 | | |
56 | | - | |
| 46 | + | |
57 | 47 | | |
58 | | - | |
59 | 48 | | |
60 | 49 | | |
| 50 | + | |
61 | 51 | | |
62 | 52 | | |
63 | | - | |
64 | | - | |
| 53 | + | |
65 | 54 | | |
66 | | - | |
| 55 | + | |
67 | 56 | | |
68 | | - | |
| 57 | + | |
69 | 58 | | |
70 | 59 | | |
71 | 60 | | |
72 | 61 | | |
73 | 62 | | |
74 | 63 | | |
75 | | - | |
76 | 64 | | |
| 65 | + | |
77 | 66 | | |
78 | 67 | | |
79 | 68 | | |
| |||
84 | 73 | | |
85 | 74 | | |
86 | 75 | | |
87 | | - | |
88 | | - | |
| 76 | + | |
| 77 | + | |
89 | 78 | | |
90 | 79 | | |
91 | 80 | | |
92 | 81 | | |
93 | 82 | | |
94 | | - | |
95 | 83 | | |
96 | 84 | | |
97 | 85 | | |
98 | 86 | | |
99 | 87 | | |
| 88 | + | |
100 | 89 | | |
101 | 90 | | |
102 | 91 | | |
103 | | - | |
| 92 | + | |
104 | 93 | | |
105 | 94 | | |
106 | 95 | | |
107 | 96 | | |
108 | 97 | | |
109 | 98 | | |
110 | 99 | | |
| 100 | + | |
| 101 | + | |
111 | 102 | | |
112 | 103 | | |
113 | 104 | | |
114 | 105 | | |
115 | 106 | | |
116 | 107 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 108 | + | |
125 | 109 | | |
126 | 110 | | |
127 | 111 | | |
128 | 112 | | |
129 | 113 | | |
130 | 114 | | |
131 | 115 | | |
132 | | - | |
133 | 116 | | |
| 117 | + | |
134 | 118 | | |
135 | 119 | | |
136 | 120 | | |
137 | 121 | | |
138 | 122 | | |
139 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
140 | 127 | | |
141 | 128 | | |
142 | 129 | | |
143 | 130 | | |
144 | 131 | | |
145 | 132 | | |
146 | 133 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
153 | 143 | | |
154 | 144 | | |
155 | 145 | | |
| |||
158 | 148 | | |
159 | 149 | | |
160 | 150 | | |
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 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
| 151 | + | |
0 commit comments