mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-24 12:25:03 -02:30
Decouple etcd defaults in a separate role
This allows us to reuse the defaults in other places without putting everything in kubespray-defaults. In that, for kubernetes/control-plane.
This commit is contained in:
@@ -6,3 +6,4 @@ dependencies:
|
|||||||
- role: adduser
|
- role: adduser
|
||||||
user: "{{ addusers.kube }}"
|
user: "{{ addusers.kube }}"
|
||||||
when: not (ansible_os_family in ["Flatcar", "Flatcar Container Linux by Kinvolk", "ClearLinux"] or is_fedora_coreos)
|
when: not (ansible_os_family in ["Flatcar", "Flatcar Container Linux by Kinvolk", "ClearLinux"] or is_fedora_coreos)
|
||||||
|
- role: etcd_defaults
|
||||||
|
|||||||
@@ -7,3 +7,4 @@ dependencies:
|
|||||||
- etcd_deployment_type == "kubeadm"
|
- etcd_deployment_type == "kubeadm"
|
||||||
- not (ansible_os_family in ["Flatcar", "Flatcar Container Linux by Kinvolk", "ClearLinux"] or is_fedora_coreos)
|
- not (ansible_os_family in ["Flatcar", "Flatcar Container Linux by Kinvolk", "ClearLinux"] or is_fedora_coreos)
|
||||||
- role: network_plugin/calico_defaults
|
- role: network_plugin/calico_defaults
|
||||||
|
- role: etcd_defaults
|
||||||
|
|||||||
Reference in New Issue
Block a user