roles: rely on configured defaults#13249
Conversation
|
|
|
Welcome @Zakharden! |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Zakharden The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @Zakharden. 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. |
|
Could a kubernetes-sigs member please verify this PR for testing when you have a chance? The change is intentionally scoped to existing role defaults and should be behavior-preserving. |
|
/ok-to-test |
7e4c45b to
d63121e
Compare
All tests have been passed, please take a look.🔍 |
|
/lgtm |
Signed-off-by: Zakhar Dvurechensky <72825626+Zakharden@users.noreply.github.com>
d63121e to
7949793
Compare
|
@guoard I rebased the PR onto the latest Since the |
|
/lgtm |
What type of PR is this?
/kind cleanup
What this PR does / why we need it
This removes a small set of repeated inline defaults from role tasks and templates where Kubespray already defines the same values in role defaults.
The change covers:
skip_downloads, which is already defined inkubespray_defaultscontainer, which is already normalized throughdownload_defaultsdns_timeoutanddns_attempts, now defined once in thekubernetes/preinstallrole defaults and reused by resolv.conf, NetworkManager, and dhclient templatesThis keeps behavior unchanged while reducing duplicated fallback values in the role logic.
Which issue(s) this PR fixes
Fixes part of #11822.
Special notes for your reviewer
This intentionally handles a small, low-risk slice of the broader cleanup requested in #11822 rather than changing every remaining
defaultfilter at once.Does this PR introduce a user-facing change?