mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-30 04:06:34 +09:00
When Hubble Relay is enabled at tenant cluster creation, hubble-relay waits on DNS resolution for hubble-peer.cozy-cilium.svc.cluster.local before the Cilium HelmRelease becomes Ready. Because the CoreDNS HelmRelease declared dependsOn on Cilium, Flux blocked CoreDNS installation until Cilium was ready, creating a circular deadlock.
Removing dependsOn from CoreDNS lets both HelmReleases reconcile concurrently: CoreDNS pods remain Pending without a CNI and retry via spec.install.remediation.retries: -1 until Cilium comes up, at which point CoreDNS starts and unblocks Hubble Relay.
Closes: #5315
Assisted-by: LLM
Signed-off-by: anikethinge <anikethinge4@gmail.com>
(cherry picked from commit a91689ad8a)
Signed-off-by: cozystack-ci[bot] <274107086+cozystack-ci[bot]@users.noreply.github.com>
How to test packages local
cd packages/core/installer
make image-cozystack REGISTRY=YOUR_CUSTOM_REGISTRY
make apply
kubectl delete po -l app=source-controller -n cozy-fluxcd