Plugins param for velero installation should allow surrounding comma with blank spaces #4190
Description
What steps did you take and what happened:
[A clear and concise description of what the bug is, and what commands you ran.)
When install velero with param plugins like this:
--plugins harbor-repo.vmware.com/harbor-ci/velero/velero-plugin-for-aws:v1.2.0,
vsphereveleroplugin/velero-plugin-for-vsphere:v1.1.1
Got error like this:
BackupStorageLocation/default: created
VolumeSnapshotLocation/default: attempting to create resource
VolumeSnapshotLocation/default: attempting to create resource client
VolumeSnapshotLocation/default: created
Deployment/velero: attempting to create resource
Deployment/velero: attempting to create resource client
An error occurred:
Error installing Velero. Use kubectl logs deploy/velero -n velero
to check the deploy logs: Error creating resource Deployment/velero: Deployment.apps "velero" is invalid: [spec.template.spec.initContainers[1].name: Required value, spec.template.spec.initContainers[1].image: Required value]
What did you expect to happen:
Installation should be success.
The output of the following commands will help us better understand what's going on:
(Pasting long output into a GitHub gist or other pastebin is fine.)
kubectl logs deployment/velero -n velero
velero backup describe <backupname>
orkubectl get backup/<backupname> -n velero -o yaml
velero backup logs <backupname>
velero restore describe <restorename>
orkubectl get restore/<restorename> -n velero -o yaml
velero restore logs <restorename>
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
- Velero version (use
velero version
): - Velero features (use
velero client config get features
): - Kubernetes version (use
kubectl version
): - Kubernetes installer & version:
- Cloud provider or hardware configuration:
- OS (e.g. from
/etc/os-release
):
Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.
- 👍 for "I would like to see this bug fixed as soon as possible"
- 👎 for "There are more important bugs to focus on right now"