Newer
Older

andrew.greene
committed
echo "Downloading manifests for v$VERSION"
curl -sSLO https://github.com/kubevirt/kubevirt/releases/download/v${VERSION}/kubevirt-operator.yaml
curl -sSLO https://github.com/kubevirt/kubevirt/releases/download/v${VERSION}/kubevirt-cr.yaml

andrew.greene
committed
echo "Building manifests"
kustomize build -o chart/templates
mv chart/templates/apiextensions.k8s.io_v1_customresourcedefinition_kubevirts.kubevirt.io.yaml chart/crds/

andrew.greene
committed
rm -rf chart/templates/v1_namespace_kubevirt.yaml
rm -rf kubevirt-operator.yaml kubevirt-cr.yaml
echo "Done... "
echo " Next steps: Review Changes, make update-readme, update Changelog"