* feat: add advanced features to config Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: only enable longhorn if distro is k3s or k0s Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: update ansible lint Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
24 lines
859 B
YAML
24 lines
859 B
YAML
#% if bootstrap_distribution == 'k3s' %#
|
|
---
|
|
# 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
|
|
k3s_etcd_datastore: true
|
|
k3s_use_unsupported_config: true
|
|
k3s_registration_address: "{{ kube_api_addr }}"
|
|
# /var/lib/rancher/k3s/server/manifests
|
|
k3s_server_manifests_templates:
|
|
- custom-cilium-helmchart.yaml.j2
|
|
#% if bootstrap_nodes.master | length > 1 or bootstrap_kube_api_addr|default('') %#
|
|
# /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 %#
|