Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Default to topology flavor in NodeDrainTimeoutSpec #11727

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

mboersma
Copy link
Contributor

@mboersma mboersma commented Jan 21, 2025

What this PR does / why we need it:

The node-drain Docker test template was removed in #11127, but remained as the default flavor for NodeDrainTimeoutSpec. This can cause a nil pointer exception when a subsequent function expects Spec.Toplogy to be set.

CAPI explicitly supplies the topology flavor when calling the spec, so it didn't see this problem (but CAPZ did).

Which issue(s) this PR fixes:
Refs kubernetes-sigs/cluster-api-provider-azure#5316

/area testing

@k8s-ci-robot k8s-ci-robot added area/testing Issues or PRs related to testing cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jan 21, 2025
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 21, 2025
@mboersma
Copy link
Contributor Author

/cc @willie-yao

@sbueringer
Copy link
Member

Thx for the PR and thx for running the test!

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 22, 2025
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 9328070a07ee553b61687bf76d5fb35f7f5e3df9

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sbueringer

The full list of commands accepted by this bot can be found here.

The pull request process is described here

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 added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 22, 2025
@k8s-ci-robot k8s-ci-robot merged commit c165096 into kubernetes-sigs:main Jan 22, 2025
25 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.10 milestone Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/testing Issues or PRs related to testing cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. 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