Commit 5ca7350
operator: add PodDisruptionBudget support to Pipeline CRD
Add spec.budget field to Pipeline with maxUnavailable/minAvailable
options, following the convention used by Strimzi and Prometheus
Operator. The PDB is rendered by the Syncer alongside the Deployment
and ConfigMap, so it is automatically garbage-collected on CR deletion.
CRD validation enforces exactly one of maxUnavailable or minAvailable
via CEL rule. RBAC updated for policy/poddisruptionbudgets.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d46f37b commit 5ca7350
12 files changed
Lines changed: 571 additions & 289 deletions
File tree
- operator
- api/redpanda/v1alpha2
- testdata
- chart
- files/rbac
- testdata
- config
- crd/bases
- rbac/itemized
- internal/controller/pipeline
- taskfiles
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
181 | 188 | | |
182 | 189 | | |
183 | 190 | | |
184 | 191 | | |
185 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
186 | 209 | | |
187 | 210 | | |
188 | 211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2325 | 2325 | | |
2326 | 2326 | | |
2327 | 2327 | | |
| 2328 | + | |
| 2329 | + | |
| 2330 | + | |
| 2331 | + | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
| 2335 | + | |
| 2336 | + | |
| 2337 | + | |
| 2338 | + | |
| 2339 | + | |
| 2340 | + | |
| 2341 | + | |
| 2342 | + | |
| 2343 | + | |
| 2344 | + | |
| 2345 | + | |
| 2346 | + | |
| 2347 | + | |
| 2348 | + | |
| 2349 | + | |
| 2350 | + | |
| 2351 | + | |
| 2352 | + | |
| 2353 | + | |
| 2354 | + | |
| 2355 | + | |
| 2356 | + | |
2328 | 2357 | | |
2329 | 2358 | | |
2330 | 2359 | | |
| |||
2422 | 2451 | | |
2423 | 2452 | | |
2424 | 2453 | | |
| 2454 | + | |
| 2455 | + | |
| 2456 | + | |
| 2457 | + | |
2425 | 2458 | | |
2426 | 2459 | | |
2427 | 2460 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| 37 | + | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | | - | |
15 | | - | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 17 | | |
| 18 | + | |
31 | 19 | | |
32 | | - | |
| 20 | + | |
33 | 21 | | |
34 | | - | |
| 22 | + | |
| 23 | + | |
35 | 24 | | |
36 | 25 | | |
37 | 26 | | |
| |||
41 | 30 | | |
42 | 31 | | |
43 | 32 | | |
| 33 | + | |
| 34 | + | |
44 | 35 | | |
45 | 36 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 37 | | |
50 | | - | |
| 38 | + | |
| 39 | + | |
51 | 40 | | |
52 | | - | |
| 41 | + | |
53 | 42 | | |
54 | | - | |
| 43 | + | |
55 | 44 | | |
56 | 45 | | |
57 | 46 | | |
| 47 | + | |
| 48 | + | |
58 | 49 | | |
59 | 50 | | |
60 | | - | |
| 51 | + | |
61 | 52 | | |
62 | | - | |
| 53 | + | |
63 | 54 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
69 | 62 | | |
70 | | - | |
| 63 | + | |
71 | 64 | | |
72 | | - | |
| 65 | + | |
73 | 66 | | |
74 | | - | |
| 67 | + | |
75 | 68 | | |
76 | 69 | | |
77 | 70 | | |
| |||
81 | 74 | | |
82 | 75 | | |
83 | 76 | | |
| 77 | + | |
| 78 | + | |
84 | 79 | | |
85 | 80 | | |
| 81 | + | |
| 82 | + | |
86 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
87 | 89 | | |
88 | | - | |
89 | | - | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
0 commit comments