32 lines
1007 B
YAML
32 lines
1007 B
YAML
<% if bootstrap_distribution == 'k3s' %>
|
|
---
|
|
#
|
|
# Below vars are for the xanmanning.k3s role
|
|
# ...see https://github.com/PyratLabs/ansible-role-k3s
|
|
#
|
|
|
|
# renovate: datasource=github-releases depName=k3s-io/k3s
|
|
k3s_release_version: "v1.29.0+k3s1"
|
|
k3s_install_hard_links: true
|
|
k3s_become: true
|
|
<% if bootstrap_nodes.master | length > 1 %>
|
|
k3s_etcd_datastore: true
|
|
<% else %>
|
|
k3s_etcd_datastore: false
|
|
<% endif %>
|
|
k3s_registration_address: "{{ kube_api_addr }}"
|
|
# /var/lib/rancher/k3s/server/manifests
|
|
k3s_server_manifests_templates:
|
|
- custom-cilium-helmchart.yaml.j2
|
|
- custom-coredns-helmchart.yaml.j2
|
|
<% if bootstrap_nodes.master | length > 1 and not bootstrap_kube_api_addr %>
|
|
# /var/lib/rancher/k3s/server/manifests
|
|
k3s_server_manifests_urls:
|
|
- url: https://raw.githubusercontent.com/kube-vip/website/main/content/manifests/rbac.yaml
|
|
filename: kube-vip-rbac.yaml
|
|
# /var/lib/rancher/k3s/agent/pod-manifests
|
|
k3s_server_pod_manifests_templates:
|
|
- kube-vip-static-pod.yaml.j2
|
|
<% endif %>
|
|
<% endif %>
|