Refactor(defaults): centralize remove node defaults#13004
Conversation
|
Hi @Srishti-j18. 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 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. |
| --grace-period {{ drain_grace_period }} | ||
| --timeout {{ drain_timeout }} | ||
| --delete-emptydir-data {{ kube_override_hostname | default(inventory_hostname) }} | ||
| --delete-emptydir-data {{ kube_override_hostname }} |
There was a problem hiding this comment.
This is already defined here:
|
/kind cleanup |
|
No, this PR only addresses a small slice. Sorry, I’ve removed the Fixes #11822 line, so the issue stays open. I’ll try to help with the remaining defaults in this PR only. Could you please take a look at this comment? |
|
/ok-to-test |
|
You just need to squash your commits and then we're good. |
|
Yeah, I know. I'm migrating |
ddd3721 to
d128a7a
Compare
The download role is gonna substantially change in #12299 and #12937 ( as-in, full rewrite, in fact) ; I'd prefer not to touch it too much until this lands (which should in the coming month, there is not much left to do) since rebases can already take some time with large changes like this. |
|
🥲 |
c847958 to
edba352
Compare
|
Okay, I have removed all the other changes and only updated it for the |
|
It's generally easier to do such changes piece meal instead of one big PR, precisely for things like this. I don't have an exact list, but I think except download there isn't a big rewrite right now. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Srishti-j18, VannTen 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 |
|
/retest-failed |
|
/retest |
|
/retest-failed |
edba352 to
86162fa
Compare
|
I just rebased onto the master branch. |
|
Yeah that's normal the bot removes lgtm on any change.
/lgtm
|
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Moves inline defaults out of tasks and into role defaults for
remove_node. This reduces repeated | default(...) usage and aligns with #11822.Which issue(s) this PR fixes:
Special notes for your reviewer:
No functional behavior change intended.
Does this PR introduce a user-facing change?: