Skip to content

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

Closed
hakman wants to merge 1 commit into
masterfrom
claude/debug-kops-aws-upgrade-test-Upxwz
Closed

dns-controller: default Provider when ExternalDNS is partially set#18301
hakman wants to merge 1 commit into
masterfrom
claude/debug-kops-aws-upgrade-test-Upxwz

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.

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

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.

Default Provider to dns-controller whenever it is empty, regardless of
whether ExternalDNS itself is nil.
@linux-foundation-easycla
Copy link
Copy Markdown

CLA Not Signed

@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
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign hakman for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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 requested review from olemarkus and zetaab May 10, 2026 11:54
@k8s-ci-robot k8s-ci-robot added the cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. label May 10, 2026
@hakman
Copy link
Copy Markdown
Member Author

hakman commented May 10, 2026

/close

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

@hakman: Closed this PR.

Details

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@hakman
Copy link
Copy Markdown
Member Author

hakman commented May 10, 2026

/reopen

@k8s-ci-robot k8s-ci-robot reopened this May 10, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

@hakman: Reopened this PR.

Details

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@hakman
Copy link
Copy Markdown
Member Author

hakman commented May 10, 2026

/close

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

@hakman: Closed this PR.

Details

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. 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