Files
kubespray/roles/etcd/tasks/refresh_config.yml
Bogdan Sass 4b324cb0f0 Rename master to control plane - non-breaking changes only (#11394)
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
2024-09-06 07:56:19 +01:00

21 lines
458 B
YAML

---
- name: Refresh config | Create etcd config file
template:
src: etcd.env.j2
dest: /etc/etcd.env
mode: "0640"
notify: Restart etcd
when:
- ('etcd' in group_names)
- etcd_cluster_setup
- name: Refresh config | Create etcd-events config file
template:
src: etcd-events.env.j2
dest: /etc/etcd-events.env
mode: "0640"
notify: Restart etcd-events
when:
- ('etcd' in group_names)
- etcd_events_cluster_setup