Skip to content

Add 'hostNetwork' tests #7826

@dcantah

Description

@dcantah

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions