Add clean_resolv_conf to the kubernetes role to give k3s a resolv.conf with only the nameserver lines
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user