Skip to content

Improve Context handling in clusterctl #8733

@sbueringer

Description

@sbueringer

What would you like to be added (User Story)?

Today we have plenty of places in clusterctl where we use context.TODO(). This issue is about incrementally improving clusterctl to pass through Context top-down.

Related:

  • The recent CR bump PR (⚠️ Bump to CR v0.15.0 #8007) introduced the new wait utils from apimachinery which means it's now even easier to pass through context into code that is run inside of the wait utils.

Detailed Description

Anything else you would like to add?

No response

Label(s) to be applied

/kind cleanup
/area clusterctl

One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/clusterctlIssues or PRs related to clusterctlkind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions