Commit 1094bc9
Make ServiceAccount optional in experimental channel
This commit updates the ClusterExtension API to make the serviceAccount
field optional in the experimental channel while keeping it required in
the standard channel.
Changes to ClusterExtension API:
- Added <opcon:standard:validation:Required> and
<opcon:experimental:validation:Optional> tags to ServiceAccount field
- Added channel-specific descriptions for serviceAccount behavior:
- Standard: Service account is required
- Experimental: If omitted, authenticates as synthetic user
"olmv1:clusterextensions:<clusterExtensionName>" with group
"olmv1:clusterextensions"
- Added channel-specific descriptions for namespace field explaining
the relationship with serviceAccount
- Updated ServiceAccountReference documentation to remove namespace
requirement text
- Changed JSON tags to use omitzero for optional behavior
Generated artifacts updated:
- CRDs (standard and experimental channels)
- API reference documentation
- All manifest files
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent c08e679 commit 1094bc9
File tree
9 files changed
+82
-53
lines changed- api/v1
- docs/api-reference
- helm/olmv1/base/operator-controller/crd
- experimental
- standard
- internal/operator-controller/controllers
- manifests
9 files changed
+82
-53
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
| 52 | + | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
58 | 65 | | |
59 | 66 | | |
60 | 67 | | |
| |||
69 | 76 | | |
70 | 77 | | |
71 | 78 | | |
| 79 | + | |
72 | 80 | | |
73 | | - | |
| 81 | + | |
74 | 82 | | |
| 83 | + | |
75 | 84 | | |
76 | | - | |
77 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
78 | 97 | | |
79 | 98 | | |
80 | 99 | | |
| |||
374 | 393 | | |
375 | 394 | | |
376 | 395 | | |
377 | | - | |
| 396 | + | |
378 | 397 | | |
379 | 398 | | |
380 | 399 | | |
381 | 400 | | |
382 | 401 | | |
383 | | - | |
384 | | - | |
385 | 402 | | |
386 | 403 | | |
387 | 404 | | |
| |||
404 | 421 | | |
405 | 422 | | |
406 | 423 | | |
407 | | - | |
| 424 | + | |
408 | 425 | | |
409 | 426 | | |
410 | 427 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
343 | | - | |
| 342 | + | |
| 343 | + | |
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
| 442 | + | |
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
| 451 | + | |
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
| |||
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
155 | | - | |
| 154 | + | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
160 | 162 | | |
161 | 163 | | |
162 | 164 | | |
| |||
173 | 175 | | |
174 | 176 | | |
175 | 177 | | |
176 | | - | |
177 | | - | |
178 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
179 | 185 | | |
180 | 186 | | |
181 | 187 | | |
182 | 188 | | |
183 | 189 | | |
184 | 190 | | |
185 | 191 | | |
186 | | - | |
187 | | - | |
188 | 192 | | |
189 | 193 | | |
190 | 194 | | |
| |||
498 | 502 | | |
499 | 503 | | |
500 | 504 | | |
501 | | - | |
502 | 505 | | |
503 | 506 | | |
504 | 507 | | |
| |||
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
| 115 | + | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
134 | 136 | | |
135 | 137 | | |
136 | 138 | | |
| 139 | + | |
137 | 140 | | |
138 | | - | |
| 141 | + | |
139 | 142 | | |
140 | 143 | | |
141 | 144 | | |
| |||
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
147 | | - | |
148 | | - | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
| 352 | + | |
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
939 | 939 | | |
940 | 940 | | |
941 | 941 | | |
942 | | - | |
943 | | - | |
| 942 | + | |
| 943 | + | |
944 | 944 | | |
945 | 945 | | |
946 | 946 | | |
947 | 947 | | |
| 948 | + | |
| 949 | + | |
948 | 950 | | |
949 | 951 | | |
950 | 952 | | |
| |||
961 | 963 | | |
962 | 964 | | |
963 | 965 | | |
964 | | - | |
965 | | - | |
966 | | - | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
967 | 973 | | |
968 | 974 | | |
969 | 975 | | |
970 | 976 | | |
971 | 977 | | |
972 | 978 | | |
973 | 979 | | |
974 | | - | |
975 | | - | |
976 | 980 | | |
977 | 981 | | |
978 | 982 | | |
| |||
1286 | 1290 | | |
1287 | 1291 | | |
1288 | 1292 | | |
1289 | | - | |
1290 | 1293 | | |
1291 | 1294 | | |
1292 | 1295 | | |
| |||
0 commit comments