Skip to content

dns-controller: default Provider when ExternalDNS is partially set#18302

Merged
k8s-ci-robot merged 1 commit into
masterfrom
fix-default-externaldns-provider
May 10, 2026
Merged

dns-controller: default Provider when ExternalDNS is partially set#18302
k8s-ci-robot merged 1 commit into
masterfrom
fix-default-externaldns-provider

Conversation

@hakman
Copy link
Copy Markdown
Member

@hakman hakman commented May 10, 2026

The defaulter at populate_cluster_spec.go only sets Provider=dns-controller when Spec.ExternalDNS is nil. After #18298 added PriorityClassName, a user (or --override=spec.externalDns.priorityClassName=) can leave ExternalDNS non-nil with Provider="", which silently drops the dns-controller addon from bootstrap-channel.yaml.

In gossip clusters this strands workers: nothing publishes the kops-controller.internal.<cluster> A record into the mesh, nodeup's BootstrapClient lookup fails for the full timeout, and no node ever joins. First observed in pull-kops-aws-upgrade-gossip after release-1.35 picked up the cherry-pick of #18298 — see build 2053420008796590080.

Default Provider to dns-controller whenever it is empty, regardless of whether ExternalDNS itself is nil.


Generated by Claude Code

Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 10, 2026
@k8s-ci-robot k8s-ci-robot requested review from olemarkus and zetaab May 10, 2026 12:02
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 10, 2026
@hakman
Copy link
Copy Markdown
Member Author

hakman commented May 10, 2026

/approve

@hakman
Copy link
Copy Markdown
Member Author

hakman commented May 10, 2026

/cc @rifelpet @ameukam @upodroid

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 10, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman, rifelpet

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 35f5235 into master May 10, 2026
34 checks passed
k8s-ci-robot added a commit that referenced this pull request May 10, 2026
…8302-upstream-release-1.34

Automated cherry pick of #18302: dns-controller: default Provider when ExternalDNS is partially set
k8s-ci-robot added a commit that referenced this pull request May 10, 2026
…8302-upstream-release-1.35

Automated cherry pick of #18302: dns-controller: default Provider when ExternalDNS is partially set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants