Make cluster domain configurable via --cluster-domain flag#477
Make cluster domain configurable via --cluster-domain flag#477framsouza wants to merge 1 commit intokubernetes-sigs:mainfrom
Conversation
The service FQDN was hardcoded to use cluster.local, which doesn't work for clusters with custom DNS domains. Add a --cluster-domain flag (defaults to cluster.local) so operators can configure it.
✅ Deploy Preview for agent-sandbox canceled.
|
|
|
|
Welcome @framsouza! |
|
Hi @framsouza. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
|
/assign @barney-s |
|
/unassign |
|
Thanks for fixing @framsouza ! /approve |
|
/ok-to-test |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aditya-shantanu, framsouza, justinsb The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Looks like you need to run gofmt (I think) |
|
@framsouza: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions 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. I understand the commands that are listed here. |
|
PR needs rebase. DetailsInstructions 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. |
The service FQDN was hardcoded to
svc.cluster.local, which breaks in clusters using a custom DNS domain (e.g.svc.custom.domain). This was tracked as a TODO in the codebase. This PR is:--cluster-domainflag to the controller (defaults tocluster.local)setServiceStatusfrom a package-level function to a method onSandboxReconcilerso it can read the configured domainTests