What is the problem you're trying to solve
Would be nice to have a couple tests for the hostNetwork helper in the CRI plugin here: https://github.com/containerd/containerd/blob/main/pkg/cri/server/helpers.go#L587-L604
Describe the solution you'd like
Could use generateRuntimeOptions to help out:
|
func generateRuntimeOptions(r criconfig.Runtime, c criconfig.Config) (interface{}, error) { |
Additional context
No response
What is the problem you're trying to solve
Would be nice to have a couple tests for the
hostNetworkhelper in the CRI plugin here: https://github.com/containerd/containerd/blob/main/pkg/cri/server/helpers.go#L587-L604Describe the solution you'd like
Could use
generateRuntimeOptionsto help out:containerd/pkg/cri/server/helpers.go
Line 342 in a4bc380
Additional context
No response