Skip to content

[release-2.30] kubeadm_patches: remove old patches on inventory change#13020

Open
k8s-infra-cherrypick-robot wants to merge 1 commit intokubernetes-sigs:release-2.30from
k8s-infra-cherrypick-robot:cherry-pick-13019-to-release-2.30
Open

[release-2.30] kubeadm_patches: remove old patches on inventory change#13020
k8s-infra-cherrypick-robot wants to merge 1 commit intokubernetes-sigs:release-2.30from
k8s-infra-cherrypick-robot:cherry-pick-13019-to-release-2.30

Conversation

@k8s-infra-cherrypick-robot

This is an automated cherry-pick of #13019

/assign VannTen

Kubeadm patches not present in the `kubeadm_patches` variable are now removed from the managed nodes automatically

Currently, if changing the inventory variable `kubeadm_patches`, new
patches will be created, but the existing ones will also be left on the
filesystem, and applied by kubeadm ; this means that removed or changed
configuration can linger.

Cleanup old patches (which are the difference between existing patches
on filesystem and the one created for the current runs).
@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 17, 2026
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Feb 17, 2026
@VannTen
Copy link
Contributor

VannTen commented Feb 17, 2026 via email

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: k8s-infra-cherrypick-robot, VannTen

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

The pull request process is described here

Details 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 Feb 17, 2026
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. 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. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants