feat!: for a single master node do not use etcd and add option to not use kube-vip

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2023-12-29 19:21:26 -05:00
1 parent 5d4b0f52c3
commit ec8c19a24e
5 files changed
+63 -11

No files matched your search

+6
View File
@@ -17,6 +17,12 @@
ansible.builtin.set_fact:
repository_path: "{{ repository.stdout }}"
- name: Override kube-vip address when there is a single master node and no address is defined
when: bootstrap_nodes.master | length == 1 and not bootstrap_kube_vip_addr
ansible.builtin.set_fact:
bootstrap_kube_vip_enabled: false
bootstrap_kube_vip_addr: "{{ bootstrap_nodes.master[0].address }}"
- name: Verify configuration
ansible.builtin.include_tasks: tasks/validation/main.yaml