fix: respect pod and service cidr in k0s config
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
1 file changed
+3
@@ -88,6 +88,9 @@ spec:
|
|||||||
extraArgs:
|
extraArgs:
|
||||||
listen-metrics-urls: http://0.0.0.0:2381 # Required to monitor etcd with kube-prometheus-stack
|
listen-metrics-urls: http://0.0.0.0:2381 # Required to monitor etcd with kube-prometheus-stack
|
||||||
api:
|
api:
|
||||||
|
network:
|
||||||
|
podCIDR: "#{ bootstrap_cluster_cidr.split(',')[0] }#"
|
||||||
|
serviceCIDR: "#{ bootstrap_service_cidr.split(',')[0] }#"
|
||||||
sans:
|
sans:
|
||||||
- "#{ bootstrap_kube_api_addr }#"
|
- "#{ bootstrap_kube_api_addr }#"
|
||||||
#% if bootstrap_kube_api_hostname | default('') %#
|
#% if bootstrap_kube_api_hostname | default('') %#
|
||||||
|
|||||||
Reference in new issue
Block a user