fix(k0s): update network settings in config

This commit is contained in:
Devin Buhl authored and GitHub committed 2024-01-18 21:41:08 -05:00
1 parent 08ed800e6c
commit f355b52326
1 file changed
+2 -3
@@ -118,9 +118,6 @@ 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('') %#
@@ -135,6 +132,8 @@ spec:
#% endif %# #% endif %#
#% endfor %# #% endfor %#
network: network:
podCIDR: "#{ bootstrap_cluster_cidr.split(',')[0] }#"
serviceCIDR: "#{ bootstrap_service_cidr.split(',')[0] }#"
provider: custom provider: custom
kubeProxy: kubeProxy:
disabled: true disabled: true