mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2026-10-23 20:22:03 +02:00
- Bump K3s to v1.36.2+k3s1, Calico to v3.32.1, Cilium to v1.20.0, kube-vip to v1.2.2, kube-vip cloud provider to v0.0.12, and MetalLB to v0.16.0 across sample inventory, role defaults, and argument specs - Pin the Cilium CLI with a new cilium_cli_tag (v0.19.7) instead of the floating stable.txt lookup - Replace the CiliumBGPPeeringPolicy v2alpha1 BGP template with the v2 CiliumBGPClusterConfig, CiliumBGPPeerConfig, CiliumBGPAdvertisement, and CiliumLoadBalancerIPPool resource set - Move Cilium load balancer Helm keys from bpf.loadBalancer to the valid top-level loadBalancer path - Add preflight schema validation and remove the deprecated policy after the v2 objects are accepted - Wait for cilium status after installation - Pin kube-vip RBAC in a repository template instead of fetching a mutable URL, and include EndpointSlice permissions - Fix the kube-vip bgppeers format to address:ASN comma-separated peers - Fail clearly when the MetalLB speaker tag replacement does not apply - Drop the obsolete MetalLB webhook service name version branch
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
---
|
|
extra_server_args: ""
|
|
|
|
k3s_kubectl_binary: k3s kubectl
|
|
|
|
group_name_master: master
|
|
|
|
kube_vip_arp: true
|
|
kube_vip_iface:
|
|
kube_vip_cloud_provider_tag_version: v0.0.12
|
|
kube_vip_tag_version: v1.2.2
|
|
|
|
kube_vip_bgp: false
|
|
kube_vip_bgp_routerid: 127.0.0.1
|
|
kube_vip_bgp_as: "64513"
|
|
kube_vip_bgp_peeraddress: 192.168.30.1
|
|
kube_vip_bgp_peeras: "64512"
|
|
|
|
kube_vip_bgp_peers: []
|
|
kube_vip_bgp_peers_groups: ['k3s_master']
|
|
|
|
metal_lb_controller_tag_version: v0.16.0
|
|
metal_lb_speaker_tag_version: v0.16.0
|
|
metal_lb_type: native
|
|
|
|
retry_count: 20
|
|
|
|
# yamllint disable rule:line-length
|
|
server_init_args: >-
|
|
{% if groups[group_name_master | default('master')] | length > 1 %}
|
|
{% if ansible_hostname == hostvars[groups[group_name_master | default('master')][0]]['ansible_hostname'] %}
|
|
--cluster-init
|
|
{% else %}
|
|
--server https://{{ hostvars[groups[group_name_master | default('master')][0]].k3s_node_ip | split(",") | first | ansible.utils.ipwrap }}:6443
|
|
{% endif %}
|
|
--token {{ k3s_token }}
|
|
{% endif %}
|
|
{{ extra_server_args }}
|
|
|
|
systemd_dir: /etc/systemd/system
|