update cilium value to replace CIDR value from config.yaml (#1489)

* update cilium value to replace CIDR value from config.yaml

* removed unused var
This commit is contained in:
AJ authored and GitHub committed 2024-05-22 09:32:18 -04:00
1 parent dd7d48f678
commit 8a7b1391c2
2 files changed
+2 -6

No files matched your search

@@ -23,9 +23,9 @@ hubble:
enabled: false
ipam:
mode: kubernetes
ipv4NativeRoutingCIDR: "${CLUSTER_CIDR}"
ipv4NativeRoutingCIDR: #{ bootstrap_pod_network.split(',')[0] }#
#% if bootstrap_feature_gates.dual_stack_ipv4_first %#
ipv6NativeRoutingCIDR: "${CLUSTER_CIDR_V6}"
ipv6NativeRoutingCIDR: "#{ bootstrap_pod_network.split(',')[1] }#"
ipv6:
enabled: true
#% endif %#
@@ -5,11 +5,7 @@ metadata:
name: cluster-settings
namespace: flux-system
data:
CLUSTER_CIDR: "#{ bootstrap_pod_network.split(',')[0] }#"
NODE_CIDR: "#{ bootstrap_node_network }#"
#% if bootstrap_feature_gates.dual_stack_ipv4_first %#
CLUSTER_CIDR_V6: "#{ bootstrap_pod_network.split(',')[1] }#"
#% endif %#
#% if bootstrap_bgp.enabled %#
BGP_ADVERTISED_CIDR: "#{ bootstrap_bgp.advertised_network }#"
#% endif %#