c8a2fe321b
* Add a flag "authorization_method", when set to "RBAC" enables role based access control. * Add required cluster roles and bindings for kube-dns * Patch tiller deployment to use a service account with proper credentials. * Add a flag to regenerate kubernetes certs on the nodes.
19 lines
397 B
YAML
19 lines
397 B
YAML
---
|
|
- name: restart kubelet if secrets changed
|
|
command: /bin/true
|
|
when: secret_changed|d(False)
|
|
notify: restart kubelet
|
|
|
|
- name: restart kubelet
|
|
command: /bin/true
|
|
notify:
|
|
- Kubelet | reload systemd
|
|
- Kubelet | reload kubelet
|
|
|
|
- name: Kubelet | reload systemd
|
|
command: systemctl daemon-reload
|
|
|
|
- name: Kubelet | reload kubelet
|
|
service:
|
|
name: kubelet
|
|
state: restarted
|