Commit 2427cfd
committed
⚠ Split Helm chart into operator and providers charts with dependency
Separate cluster-api-operator into two charts to fix webhook timing issues:
- cluster-api-operator: operator deployment only
- cluster-api-operator-providers: provider Custom Resources with optional operator dependency
This ensures webhook readiness before applying provider CRs, preventing
"no endpoints available" errors during installation.
The providers chart includes cluster-api-operator as a conditional dependency
(install: true by default), maintaining backward compatibility while allowing
flexible deployment scenarios:
**Recommended: Two-step installation (no errors):**
```sh
helm install capi-operator capi-operator/cluster-api-operator \
--create-namespace -n capi-operator-system --wait
helm install capi-providers capi-operator/cluster-api-operator-providers \
-n capi-operator-system --set cluster-api-operator.install=false \
--set infrastructure.docker.enabled=true
```
**Backward compatibility: Single-step installation (may require retry):**
```sh
helm install capi-providers capi-operator/cluster-api-operator-providers \
--create-namespace -n capi-operator-system \
--set infrastructure.docker.enabled=true
helm upgrade --install capi-providers capi-operator/cluster-api-operator-providers \
-n capi-operator-system --set infrastructure.docker.enabled=true
```
Signed-off-by: kahirokunn <[email protected]>1 parent 3846d87 commit 2427cfd
File tree
37 files changed
+562
-273
lines changed- hack/charts
- cluster-api-operator-providers
- templates
- cluster-api-operator
- test/e2e
- resources
37 files changed
+562
-273
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
| |||
455 | 456 | | |
456 | 457 | | |
457 | 458 | | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
458 | 462 | | |
459 | 463 | | |
460 | 464 | | |
| |||
485 | 489 | | |
486 | 490 | | |
487 | 491 | | |
488 | | - | |
| 492 | + | |
| 493 | + | |
489 | 494 | | |
490 | 495 | | |
491 | 496 | | |
492 | 497 | | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
493 | 503 | | |
494 | 504 | | |
495 | 505 | | |
| |||
561 | 571 | | |
562 | 572 | | |
563 | 573 | | |
564 | | - | |
| 574 | + | |
565 | 575 | | |
566 | 576 | | |
567 | 577 | | |
| 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 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 24 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 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments