mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-30 04:06:34 +09:00
## What this PR does Closes #5315 Removes `spec.dependsOn` on Cilium from the tenant `coredns` `HelmRelease` (`packages/apps/kubernetes/templates/helmreleases/coredns.yaml`). 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 CoreDNS previously declared `dependsOn` on Cilium, Flux blocked CoreDNS installation until Cilium was ready, creating a circular deadlock. Allowing both `HelmRelease` resources to reconcile concurrently lets CoreDNS retry (`spec.install.remediation.retries: -1`) until Cilium brings up cluster networking, unblocking CoreDNS and Hubble Relay. ### Downstream repositories - [x] No downstream repository is affected by this change - [ ] [cozystack/website](https://github.com/cozystack/website) - follow-up: - [ ] [cozystack/terraform-provider-cozystack](https://github.com/cozystack/terraform-provider-cozystack) - follow-up: - [ ] [cozystack/ansible-cozystack](https://github.com/cozystack/ansible-cozystack) - follow-up: - [ ] [cozystack/ccp](https://github.com/cozystack/ccp) - follow-up: - [ ] [cozystack/talm](https://github.com/cozystack/talm) - follow-up: - [ ] [cozystack/cozyhr](https://github.com/cozystack/cozyhr) - follow-up: - [ ] [cozystack/cozy-proxy](https://github.com/cozystack/cozy-proxy) - follow-up: - [ ] [cozystack/cozystack-telemetry-server](https://github.com/cozystack/cozystack-telemetry-server) - follow-up: - [ ] [cozystack/external-apps-example](https://github.com/cozystack/external-apps-example) - follow-up: - [ ] [cozystack/examples](https://github.com/cozystack/examples) - follow-up: - [ ] [cozystack/community](https://github.com/cozystack/community) - follow-up: ### Release note ```release-note fix(kubernetes): remove cilium dependency from coredns HelmRelease to prevent a circular startup deadlock when Hubble Relay is enabled ``` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Updates** * CoreDNS no longer waits for the release-specific Cilium HelmRelease dependency before being managed. Its configured values remain unchanged, and installation and upgrade remediation behavior is covered by automated checks. <!-- end of auto-generated comment: release notes by coderabbit.ai -->