Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

fix: update nodecustomdata to enable portmapper for kubenet+containerd #4191

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions parts/k8s/cloud-init/masternodecustomdata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,11 @@ write_files:
"subnet": "{{`{{.PodCIDR}}`}}",
"routes": [{ "dst": "0.0.0.0/0" }]
}
},
{
"type": "portmap",
"capabilities": {"portMappings": true},
"snat": false
}]
}
{{end}}
Expand Down
5 changes: 5 additions & 0 deletions parts/k8s/cloud-init/nodecustomdata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,11 @@ write_files:
"subnet": "{{`{{.PodCIDR}}`}}",
"routes": [{ "dst": "0.0.0.0/0" }]
}
},
{
"type": "portmap",
"capabilities": {"portMappings": true},
"snat": false
}]
}
{{end}}
Expand Down
10 changes: 10 additions & 0 deletions pkg/engine/templates_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.