Merge pull request #34430 from champtar/portmap

Add externalSetMarkChain to portmap config
pull/36084/head^2
Kubernetes Prow Robot 2022-12-19 20:33:43 -08:00 committed by GitHub
commit 0f014c5b3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -109,7 +109,8 @@ If you want to enable `hostPort` support, you must specify `portMappings capabil
},
{
"type": "portmap",
"capabilities": {"portMappings": true}
"capabilities": {"portMappings": true},
"externalSetMarkChain": "KUBE-MARK-MASQ"
}
]
}

View File

@ -129,7 +129,8 @@ cat << EOF | tee /etc/cni/net.d/10-containerd-net.conflist
},
{
"type": "portmap",
"capabilities": {"portMappings": true}
"capabilities": {"portMappings": true},
"externalSetMarkChain": "KUBE-MARK-MASQ"
}
]
}