Add default values to roles (#509)

*  Add default values to roles

* 🚚 Move to use meta files for roles

* 🛠 Fix descriptions

*  Add meta for server

* 🚧 WIP

* 🌟 Complete

* 🧹 Ran and fix lint errors

* 🔨 Fix required and default conflict

---------

Co-authored-by: Techno Tim <timothystewart6@gmail.com>
This commit is contained in:
Dov Benyomin Sohacheski
2024-08-05 22:00:24 +00:00
committed by GitHub
parent 9ce9fecc5b
commit 3a20500f9c
19 changed files with 378 additions and 33 deletions

View File

@@ -1,15 +1,19 @@
---
# If you want to explicitly define an interface that ALL control nodes
# should use to propagate the VIP, define it here. Otherwise, kube-vip
# will determine the right interface automatically at runtime.
kube_vip_iface: null
extra_server_args: ""
# Enables ARP broadcasts from Leader
kube_vip_arp: true
# Name of the master group
group_name_master: master
kube_vip_arp: true
kube_vip_iface: ~
kube_vip_cloud_provider_tag_version: main
kube_vip_tag_version: v0.7.2
metal_lb_controller_tag_version: v0.14.3
metal_lb_speaker_tag_version: v0.14.3
metal_lb_type: native
retry_count: 20
# yamllint disable rule:line-length
server_init_args: >-
{% if groups[group_name_master | default('master')] | length > 1 %}
@@ -20,4 +24,6 @@ server_init_args: >-
{% endif %}
--token {{ k3s_token }}
{% endif %}
{{ extra_server_args | default('') }}
{{ extra_server_args }}
systemd_dir: /etc/systemd/system