intel-device-plugins-for-ku.../test/envtest
Mikko Ylinen d428bcc279 operator: fix setting QAT provisioning config volumeMount
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>
2023-08-08 10:02:06 +03:00
..
dlbdeviceplugin_controller_test.go dlb: add initcontainer to plugin 2022-10-06 17:11:03 +03:00
dsadeviceplugin_controller_test.go envtest: Fix upgrade test fail when the tests for CRUD operations fail 2022-08-23 19:29:45 +03:00
fpgadeviceplugin_controller_test.go envtest: Fix upgrade test fail when the tests for CRUD operations fail 2022-08-23 19:29:45 +03:00
gpudeviceplugin_controller_test.go envtest: Fix upgrade test fail when the tests for CRUD operations fail 2022-08-23 19:29:45 +03:00
iaadeviceplugin_controller_test.go envtest: Fix upgrade test fail when the tests for CRUD operations fail 2022-08-23 19:29:45 +03:00
qatdeviceplugin_controller_test.go operator: fix setting QAT provisioning config volumeMount 2023-08-08 10:02:06 +03:00
sgxdeviceplugin_controller_test.go envtest: Fix upgrade test fail when the tests for CRUD operations fail 2022-08-23 19:29:45 +03:00
suite_test.go dlb: add initcontainer to plugin 2022-10-06 17:11:03 +03:00