- Download VDDK 7.0.2 libraries from here to
<local path to velero-plugin-for-vsphere project>/.libs
and untar it.
To build the plugin, run
$ make
To build the container, run
$ make container
This builds an image named as <REGISTRY>/velero-plugin-for-vsphere:<VERSION>
.
By default, the VERSION
, i.e., tag, will be automatically generated in the format of,
<git branch name>-<git commit>-<timestamp>
. For example, master-ad4388f-11.Mar.2020.23.39.13
.
To push it to your own repo with your own tag, run
$ make container REGISTRY=<your-repo> VERSION=<your-tag>
or, just push it by running
$ make push REGISTRY=<your-repo> VERSION=<your-tag>
To unit test the plugin, run
make test