refactor!: project updates (#1326)
* refactor!: flux is required again Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: delimiter that chomps Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: bootstrap_cloudflare logic Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: update tests Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: remove last quote Signed-off-by: Devin Buhl <devin@buhl.casa> * chore: update readme Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
1 parent
04ff4ef994
commit
c17d543b21
93 files changed
+591
-755
No files matched your search
@@ -1,8 +1,6 @@
|
||||
autoDirectNodeRoutes: true
|
||||
{% if distribution.talos.bgp.enabled %}
|
||||
bgpControlPlane:
|
||||
enabled: true
|
||||
{% endif %}
|
||||
bpf:
|
||||
masquerade: true
|
||||
cgroup:
|
||||
@@ -10,19 +8,19 @@ cgroup:
|
||||
enabled: false
|
||||
hostRoot: /sys/fs/cgroup
|
||||
cluster:
|
||||
name: home-kubernetes
|
||||
id: 1
|
||||
name: home-kubernetes
|
||||
containerRuntime:
|
||||
integration: containerd
|
||||
{% if distribution.type in ["k3s"] %}
|
||||
#% if bootstrap_distribution in ["k3s"] %#
|
||||
socketPath: /var/run/k3s/containerd/containerd.sock
|
||||
{% endif %}
|
||||
#% endif %#
|
||||
# NOTE: This might need to be set if you have more than one active NIC on your hosts
|
||||
# devices:
|
||||
# - eno0
|
||||
endpointRoutes:
|
||||
enabled: true
|
||||
{% if cloudflare.enabled %}
|
||||
#% if bootstrap_cloudflare.enabled %#
|
||||
hubble:
|
||||
enabled: true
|
||||
metrics:
|
||||
@@ -57,35 +55,33 @@ hubble:
|
||||
tls:
|
||||
- hosts:
|
||||
- "hubble.${SECRET_DOMAIN}"
|
||||
{% else %}
|
||||
#% else %#
|
||||
hubble:
|
||||
enabled: false
|
||||
{% endif %}
|
||||
#% endif %#
|
||||
ipam:
|
||||
mode: kubernetes
|
||||
ipv4NativeRoutingCIDR: "${CLUSTER_CIDR}"
|
||||
{% if feature_gates.dual_stack_ipv4_first %}
|
||||
#% if bootstrap_feature_gates.dual_stack_ipv4_first %#
|
||||
ipv6NativeRoutingCIDR: "${CLUSTER_CIDR_V6}"
|
||||
ipv6:
|
||||
enabled: true
|
||||
{% endif %}
|
||||
{% if distribution.type in ["k3s"] %}
|
||||
#% endif %#
|
||||
#% if bootstrap_distribution in ["k3s"] %#
|
||||
k8sServiceHost: 127.0.0.1
|
||||
k8sServicePort: 6444
|
||||
{% elif distribution.type in ["talos"] %}
|
||||
#% elif bootstrap_distribution in ["talos"] %#
|
||||
k8sServiceHost: 127.0.0.1
|
||||
k8sServicePort: 7445
|
||||
{% endif %}
|
||||
#% 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 %}
|
||||
#% if ((bootstrap_bgp.enabled) or (bootstrap_feature_gates.dual_stack_ipv4_first)) %#
|
||||
enabled: false # https://github.com/cilium/cilium/issues/28985
|
||||
#% else %#
|
||||
enabled: true
|
||||
{% endif %}
|
||||
#% endif %#
|
||||
loadBalancer:
|
||||
algorithm: maglev
|
||||
mode: dsr
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
autoDirectNodeRoutes: true
|
||||
{% if distribution.talos.bgp.enabled %}
|
||||
bgpControlPlane:
|
||||
enabled: true
|
||||
{% endif %}
|
||||
bpf:
|
||||
masquerade: true
|
||||
cgroup:
|
||||
@@ -10,13 +8,13 @@ cgroup:
|
||||
enabled: false
|
||||
hostRoot: /sys/fs/cgroup
|
||||
cluster:
|
||||
name: home-kubernetes
|
||||
id: 1
|
||||
name: home-kubernetes
|
||||
containerRuntime:
|
||||
integration: containerd
|
||||
{% if distribution.type in ["k3s"] %}
|
||||
#% if bootstrap_distribution in ["k3s"] %#
|
||||
socketPath: /var/run/k3s/containerd/containerd.sock
|
||||
{% endif %}
|
||||
#% endif %#
|
||||
# NOTE: This might need to be set if you have more than one active NIC on your hosts
|
||||
# devices:
|
||||
# - eno0
|
||||
@@ -26,29 +24,27 @@ hubble:
|
||||
enabled: false
|
||||
ipam:
|
||||
mode: kubernetes
|
||||
ipv4NativeRoutingCIDR: "{{ cluster.pod_network }}"
|
||||
{% if feature_gates.dual_stack_ipv4_first %}
|
||||
ipv6NativeRoutingCIDR: "{{ cluster.pod_network_v6 }}"
|
||||
ipv4NativeRoutingCIDR: "#{ bootstrap_pod_network }#"
|
||||
#% if bootstrap_feature_gates.dual_stack_ipv4_first %#
|
||||
ipv6NativeRoutingCIDR: "#{ bootstrap_pod_network_v6 }#"
|
||||
ipv6:
|
||||
enabled: true
|
||||
{% endif %}
|
||||
{% if distribution.type in ["k3s"] %}
|
||||
#% endif %#
|
||||
#% if bootstrap_distribution in ["k3s"] %#
|
||||
k8sServiceHost: 127.0.0.1
|
||||
k8sServicePort: 6444
|
||||
{% elif distribution.type in ["talos"] %}
|
||||
#% elif bootstrap_distribution in ["talos"] %#
|
||||
k8sServiceHost: 127.0.0.1
|
||||
k8sServicePort: 7445
|
||||
{% endif %}
|
||||
#% 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 %}
|
||||
#% if ((bootstrap_bgp.enabled) or (bootstrap_feature_gates.dual_stack_ipv4_first)) %#
|
||||
enabled: false # https://github.com/cilium/cilium/issues/28985
|
||||
#% else %#
|
||||
enabled: true
|
||||
{% endif %}
|
||||
#% endif %#
|
||||
loadBalancer:
|
||||
algorithm: maglev
|
||||
mode: dsr
|
||||
|
||||
@@ -21,7 +21,7 @@ spec:
|
||||
args: ["manager"]
|
||||
env:
|
||||
- name: address
|
||||
value: "{{ cluster.endpoint_vip }}"
|
||||
value: "#{ bootstrap_controllers_vip }#"
|
||||
- name: vip_arp
|
||||
value: "true"
|
||||
- name: port
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
providerRegex: ^({{ (nodes.inventory | map(attribute='name') | join('|')) }})$
|
||||
providerRegex: ^(#{ (bootstrap_node_inventory | map(attribute='name') | join('|')) }#)$
|
||||
bypassDnsResolution: true
|
||||
Reference in new issue
Block a user