Update roles/kube-master/tasks/patch_netconf.py

This commit is contained in:
2025-11-06 14:41:55 +00:00
parent f45445443f
commit 4be17277b9

View File

@ -10,7 +10,7 @@ with open("/tmp/kube-flannel.yml", "r") as f:
for doc in docs:
if doc.get("kind") == "ConfigMap" and doc.get("metadata", {}).get("name") == "kube-flannel-cfg":
doc["data"]["net-conf.json"] = '''{
"Network": "10.244.0.0/16",
"Network": "10.240.0.0/16",
"Backend": {
"Type": "vxlan"
},