feat: re-introduce flux vars for cluster network settings
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
8 files changed
+34
-26
No files matched your search
@@ -1,3 +1,4 @@
|
||||
#jinja2: trim_blocks: True, lstrip_blocks: True
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
@@ -6,3 +7,12 @@ metadata:
|
||||
namespace: flux-system
|
||||
data:
|
||||
TIMEZONE: "{{ bootstrap_timezone }}"
|
||||
COREDNS_ADDR: "{{ bootstrap_service_cidr.split(',')[0] | ansible.utils.nthhost(10) }}"
|
||||
KUBE_VIP_ADDR: "{{ bootstrap_kube_vip_addr }}"
|
||||
CLUSTER_CIDR: "{{ bootstrap_cluster_cidr.split(',')[0] }}"
|
||||
SERVICE_CIDR: "{{ bootstrap_service_cidr.split(',')[0] }}"
|
||||
NODE_CIDR: "{{ bootstrap_node_cidr }}"
|
||||
{% if bootstrap_ipv6_enabled | default(false) %}
|
||||
CLUSTER_CIDR_V6: "{{ bootstrap_cluster_cidr.split(',')[1] }}"
|
||||
SERVICE_CIDR_V6: "{{ bootstrap_service_cidr.split(',')[1] }}"
|
||||
{% endif %}
|
||||
Reference in new issue
Block a user