* feat: set lstrip on ansible template task and remove comments Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: cert-manager block was neing stripped Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
18 lines
632 B
YAML
18 lines
632 B
YAML
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: cluster-settings
|
|
namespace: flux-system
|
|
data:
|
|
TIMEZONE: "{{ bootstrap_timezone }}"
|
|
COREDNS_ADDR: "{{ bootstrap_service_cidr.split(',')[0] | ansible.utils.nthhost(10) }}"
|
|
KUBEAPI_ADDR: "{{ bootstrap_kubeapi_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 %}
|