Repository navigation
cloud-provider: document when HasClusterID is checked and what it gates - #142729
kubernetes-prow[bot] merged 1 commit into
Conversation
|
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
|
Hi @kpdagrt22. Thanks for your PR. I'm waiting for a kubernetes 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. |
|
/ok-to-test |
The HasClusterID doc only said what the method returns. It did not say who calls it, what a false result does, or that the framework never reads the ID, which left implementers unsure how a ClusterID should be modeled.
d408177 to
86ae00d
Compare
|
/priority backlog Sets priority to unblock tide. Docs-only clarification for #128320; no behavior change. |
|
LGTM label has been added. DetailsGit tree hash: d56caed5ae6d211ecdfe5a26707934705825d963 |
|
given that this is only docs, i'll give the others a day or two to respond, otherwise i will merge by end of week. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: elmiko, kpdagrt22 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 |
What type of PR is this?
/kind documentation
/sig cloud-provider
What this PR does / why we need it:
The
HasClusterIDdoc only said what the method returns. It now says the cloud-controller-manager calls it once at startup, refuses to start onfalseunless the deprecated--allow-untagged-cloudis set, and that the framework never reads the ID, so storage and use are provider-defined. Comment-only change.Which issue(s) this PR is related to:
Fixes #128320
Special notes for your reviewer:
Verified against the call sites in
cmd/cloud-controller-manager/main.goandstaging/src/k8s.io/cloud-provider/sample/basic_main.go. No other code reads the ID. No test added since this is documentation only.Does this PR introduce a user-facing change?
AI usage disclosure:
YES - AI drafted the comment after reading the call sites. The human author owns this submission. See AGENTS.md and CONTRIBUTING.md.
🤖 Generated with Claude Code