Add clean_resolv_conf to the kubernetes role to give k3s a resolv.conf with only the nameserver lines

This commit is contained in:
2026-10-09 14:37:27 +00:00
parent ca1fcc16b6
commit e9f1153482
4 changed files with 24 additions and 0 deletions
+4
View File
@@ -19,6 +19,10 @@ kubernetes:
token: <shared token for nodes to join>
network:
# Copies the current /etc/resolv.conf whilst only keeping "nameserver" lines
# can be used to remove filter
clean_resolv_conf: false
# One of [flannel, calico]
plugin: calico