k8snetworkplumbingwg / sriov-network-operator

Operator for provisioning and configuring SR-IOV CNI plugin and device plugin
Apache License 2.0
82 stars 113 forks source link

sriov-network-operator should not depend on hardcoded supported device list #86

Open adrianchiris opened 3 years ago

adrianchiris commented 3 years ago

The NicIdMap is used for generating device plugin configmap and/or perhaps in other code path (operator-webhook). If we can find a way to remove all those direct uses of NicIdMap, we could delete it and allows more NICs to be used with SR-IOV Operator directly.

For platforms that wish to limit the devices which the sriov-network-operator operates on, a configMap may be used to provide the list of supported devices.

pliurh commented 3 years ago

Agree. As OLM has supported ConfigMap https://github.com/operator-framework/operator-lifecycle-manager/issues/1120.