-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
TL;DR Is there a way to invoke ocicni to "pass-through" CNI_ARGS from the environment instead of synthesizing k8s-type CNI_ARGS?
https://github.com/containers/libpod is a consumer of this package. However, the package is ignoring CNI_ARGS from the environment and synthesizing a k8s friendly(?) version. This prevents podman from influencing CNI plugins like host-local or static.
Presumably because ocicni was only expecting to be used in k8s environment - however standalone users like podman need to be able to pass-through CNI_ARGS to the plugin.
CNI_ARGS
set by user when calling podman:
CNI_ARGS="IP:192.168.125.200;GATEWAY=192.168.125.1 podman ...
CNI_ARGS
that the plugin actually sees:
IgnoreUnknown=1;K8S_POD_NAMESPACE=abcd_3;K8S_POD_NAME=abcd_3;K8S_POD_INFRA_CONTAINER_ID=4c7f1903383a9552973ba2deb5ceb2e8b65ab1e06309c8af948b217724718bc3
daledude
Metadata
Metadata
Assignees
Labels
No labels