Add cleanup kubeadm backups under /etc/kubernetes/tmp (#13415)

* Add cleanup kubeadm backups under /etc/kubernetes/tmp

* Add kubeadm_backup_retention_count=0 to test
This commit is contained in:
wangsifei99
2026-09-10 07:42:46 +00:00
committed by GitHub
parent 44ab38baae
commit 35f900dd72
4 changed files with 59 additions and 0 deletions
@@ -86,3 +86,6 @@
- kubeadm_scale_down_coredns_enabled
- dns_mode not in ['coredns', 'coredns_dual']
changed_when: false
- name: Kubeadm | cleanup old upgrade backups
import_tasks: kubeadm-backup-cleanup.yml