mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
K8s is moving away from the "master" terminology, so kubespray should follow the same naming conventions. See 65d886bb30/sig-architecture/naming/recommendations/001-master-control-plane.md
19 lines
595 B
YAML
19 lines
595 B
YAML
---
|
|
- name: Fixup kubelet client cert rotation 1/2
|
|
lineinfile:
|
|
path: "{{ kube_config_dir }}/kubelet.conf"
|
|
regexp: '^ client-certificate-data: '
|
|
line: ' client-certificate: /var/lib/kubelet/pki/kubelet-client-current.pem'
|
|
backup: true
|
|
notify:
|
|
- "Control plane | reload kubelet"
|
|
|
|
- name: Fixup kubelet client cert rotation 2/2
|
|
lineinfile:
|
|
path: "{{ kube_config_dir }}/kubelet.conf"
|
|
regexp: '^ client-key-data: '
|
|
line: ' client-key: /var/lib/kubelet/pki/kubelet-client-current.pem'
|
|
backup: true
|
|
notify:
|
|
- "Control plane | reload kubelet"
|