Move kubernetes/master to kubernetes/control-plane (#7218)

This is a small step to replace "master" with "control-plane" in
Kubespray project.
This commit is contained in:
Kenichi Omichi
2021-02-01 07:15:49 -08:00
committed by GitHub
parent b70d986bfa
commit c5db012c9a
28 changed files with 4 additions and 4 deletions

View File

@@ -0,0 +1,17 @@
---
- name: kubeadm | Retrieve files to purge
find:
paths: "{{ kube_cert_dir }}"
patterns: '*.pem'
register: files_to_purge_for_kubeadm
- name: kubeadm | Purge old certs
file:
path: "{{ item.path }}"
state: absent
with_items: "{{ files_to_purge_for_kubeadm.files }}"
- name: kubeadm | Purge old kubeconfig
file:
path: "{{ ansible_env.HOME | default('/root') }}/.kube/config"
state: absent