mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-02-11 06:11:09 +00:00
The test for multiple credentials assumed that the plugin for the additional BSL provider was already installed. This will not be the case when performing a clean install of Velero between tests. This adds a new utility function to add the plugins that are necessary for the additional BSL provider. It doesn't check which plugins are already installed, it will just attempt to install and if the stderr contains the message that it is a duplicate plugin, we ignore the error and continue. This could be improved by instpecting the output from `velero plugin get` but I opted for a quicker solution given the upcoming release. Signed-off-by: Bridget McErlean <bmcerlean@vmware.com>