mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
![]() setInitContainer() adds "init-sriov-numvfs" to initContainers but uses initcontainerName constant to search where to add the QAT configMap volumeMount. Fix by moving all code to use the const. It was also noticed in the controller logs that setting Pod Volumes is not idempotent but broken DaemonSet gets created: ""intel-device-plugins-manager: Reconciler error "err="DaemonSet.apps \"intel-qat-plugin\" is invalid: spec.template.spec.volumes[6].name: Duplicate value: \"qat-config\"" controller="qatdeviceplugin" controllerGroup="deviceplugin.intel.com" Finally, change 'qat-config' to 'intel-qat-config-volume' to better describe that it's a volume. Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com> |
||
---|---|---|
.. | ||
dlbdeviceplugin_controller_test.go | ||
dsadeviceplugin_controller_test.go | ||
fpgadeviceplugin_controller_test.go | ||
gpudeviceplugin_controller_test.go | ||
iaadeviceplugin_controller_test.go | ||
qatdeviceplugin_controller_test.go | ||
sgxdeviceplugin_controller_test.go | ||
suite_test.go |