Skip to content

Commit f876e81

Browse files
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

File tree

  • kubernetes/apps/2-foundation/ceph-csi

kubernetes/apps/2-foundation/ceph-csi/ks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
kind: GitRepository
2323
name: flux-system
2424
namespace: flux-system
25-
wait: true
25+
wait: false
2626
decryption:
2727
provider: sops
2828
secretRef:

0 commit comments

Comments
 (0)