* fix: Use cilium cni install values for Talos * fix: Use cilium cni install values for Talos * feat: Add cilium bgpControlPlane support for Talos * feat: Add cilium bgpControlPlane support for Talos * feat: Add LB cidr var for Talos BGPCP * feat: Add jinja template for cilium-bgp.yaml * Add cilium bgpControlPlane support for Talos * feat: Add cilium bgpControlPlane example config for Talos * fix: Remove invalid fields from bgp peering policy * fix: Add serviceSelector to bgp peering policy * Update bootstrap/templates/partials/cilium-values-full.partial.yaml.j2 * Update bootstrap/templates/partials/cilium-values-init.partial.yaml.j2 * Update bootstrap/templates/partials/cilium-values-full.partial.yaml.j2 * Update bootstrap/templates/partials/cilium-values-init.partial.yaml.j2 --------- Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
76 lines
1.6 KiB
YAML
76 lines
1.6 KiB
YAML
autoDirectNodeRoutes: true
|
|
{% if distribution.talos.bgp.enabled %}
|
|
bgpControlPlane:
|
|
enabled: true
|
|
{% endif %}
|
|
bpf:
|
|
masquerade: true
|
|
cgroup:
|
|
automount:
|
|
enabled: false
|
|
hostRoot: /sys/fs/cgroup
|
|
cluster:
|
|
name: home-kubernetes
|
|
id: 1
|
|
containerRuntime:
|
|
integration: containerd
|
|
{% if distribution.type in ["k3s"] %}
|
|
socketPath: /var/run/k3s/containerd/containerd.sock
|
|
{% endif %}
|
|
endpointRoutes:
|
|
enabled: true
|
|
hubble:
|
|
enabled: false
|
|
ipam:
|
|
mode: kubernetes
|
|
ipv4NativeRoutingCIDR: "{{ cluster.pod_network }}"
|
|
{% if feature_gates.dual_stack_ipv4_first %}
|
|
ipv6NativeRoutingCIDR: "{{ cluster.pod_network_v6 }}"
|
|
ipv6:
|
|
enabled: true
|
|
{% endif %}
|
|
{% if distribution.type in ["k3s"] %}
|
|
k8sServiceHost: 127.0.0.1
|
|
k8sServicePort: 6444
|
|
{% elif distribution.type in ["talos"] %}
|
|
k8sServiceHost: 127.0.0.1
|
|
k8sServicePort: 7445
|
|
{% endif %}
|
|
kubeProxyReplacement: true
|
|
kubeProxyReplacementHealthzBindAddr: 0.0.0.0:10256
|
|
l2announcements:
|
|
{% if ( (distribution.talos.bgp.enabled) or
|
|
(feature_gates.dual_stack_ipv4_first) ) %}
|
|
# https://github.com/cilium/cilium/issues/28985
|
|
enabled: false
|
|
{% else %}
|
|
enabled: true
|
|
{% endif %}
|
|
loadBalancer:
|
|
algorithm: maglev
|
|
mode: dsr
|
|
localRedirectPolicy: true
|
|
operator:
|
|
replicas: 1
|
|
rollOutPods: true
|
|
rollOutCiliumPods: true
|
|
routingMode: native
|
|
securityContext:
|
|
capabilities:
|
|
ciliumAgent:
|
|
- CHOWN
|
|
- KILL
|
|
- NET_ADMIN
|
|
- NET_RAW
|
|
- IPC_LOCK
|
|
- SYS_ADMIN
|
|
- SYS_RESOURCE
|
|
- DAC_OVERRIDE
|
|
- FOWNER
|
|
- SETGID
|
|
- SETUID
|
|
cleanCiliumState:
|
|
- NET_ADMIN
|
|
- SYS_ADMIN
|
|
- SYS_RESOURCE
|