Browse Source

Purge /root/.kube/config when migrating to kubeadm (#3566)

pull/3574/head
Matthew Mosesohn 6 years ago
committed by k8s-ci-robot
parent
commit
7e84de2ae1
1 changed files with 5 additions and 0 deletions
  1. 5
      roles/kubernetes/master/tasks/kubeadm-cleanup-old-certs.yml

5
roles/kubernetes/master/tasks/kubeadm-cleanup-old-certs.yml

@ -10,3 +10,8 @@
path: "{{ item.path }}"
state: absent
with_items: "{{ files_to_purge_for_kubeadm.files }}"
- name: kubeadm | Purge old kubeconfig
file:
path: /root/.kube/config
state: absent
Loading…
Cancel
Save