Commit f876e81
committed
Fix ceph-csi reconciliation delay - disable wait on parent kustomization
Root cause: Flux has a known issue where dependent kustomizations don't
immediately reconcile when their dependency becomes ready. Instead, they
poll with a retry interval, causing significant startup delays.
Issue: fluxcd/kustomize-controller#1412
- Dependent kustomizations wait for dependencies using polling interval
- Status can become stale, showing "dependency not ready" even when ready
- observedGeneration: -1 indicates Flux hasn't attempted reconciliation
Solution: Disable wait:true on parent ceph-csi kustomization
- Allows namespace creation to proceed without blocking on health checks
- Child kustomizations still have proper dependencies and will wait
- Reduces startup time from minutes to seconds
The dependency chain is still enforced:
1. ceph-csi (creates namespace) - no longer blocks on health
2. ceph-csi-shared-secret (depends on ceph-csi for namespace)
3. ceph-csi-cephfs/rbd (depend on shared-secret for config)
4. ceph-csi-shared-storage (depends on drivers for StorageClass CRD)1 parent d2deb64 commit f876e81
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments