* fix: add tls sans options for k3s too Signed-off-by: Devin Buhl <devin@buhl.casa> * chore: update comment Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
22 lines
794 B
YAML
22 lines
794 B
YAML
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: cluster-settings
|
|
namespace: flux-system
|
|
data:
|
|
TIMEZONE: "#{ bootstrap_timezone }#"
|
|
COREDNS_ADDR: "#{ bootstrap_service_cidr.split(',')[0] | nthhost(10) }#"
|
|
#% if bootstrap_nodes.master | length > 1 or bootstrap_kube_api_addr | default('') %#
|
|
KUBE_API_ADDR: "#{ bootstrap_kube_api_addr }#"
|
|
#% else %#
|
|
KUBE_API_ADDR: "#{ bootstrap_nodes.master[0].address }#"
|
|
#% endif %#
|
|
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 %#
|