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:
Max Gautier
2025-05-16 14:51:29 +02:00
parent 9631b5fd44
commit 9c2bdeec63
4 changed files with 2 additions and 0 deletions

View File

@@ -6,3 +6,4 @@ dependencies:
- role: adduser
user: "{{ addusers.kube }}"
when: not (ansible_os_family in ["Flatcar", "Flatcar Container Linux by Kinvolk", "ClearLinux"] or is_fedora_coreos)
- role: etcd_defaults

View File

@@ -7,3 +7,4 @@ dependencies:
- etcd_deployment_type == "kubeadm"
- not (ansible_os_family in ["Flatcar", "Flatcar Container Linux by Kinvolk", "ClearLinux"] or is_fedora_coreos)
- role: network_plugin/calico_defaults
- role: etcd_defaults