mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-04-05 10:05:54 +00:00
18 lines
563 B
Makefile
18 lines
563 B
Makefile
NAME=kubevirt-cdi
|
|
NAMESPACE=cozy-kubevirt-cdi
|
|
|
|
show:
|
|
helm template --dry-run=server -n $(NAMESPACE) $(NAME) .
|
|
|
|
apply:
|
|
helm upgrade -i -n $(NAMESPACE) $(NAME) .
|
|
|
|
diff:
|
|
helm diff upgrade --allow-unreleased --normalize-manifests -n $(NAMESPACE) $(NAME) .
|
|
|
|
update:
|
|
rm -rf templates
|
|
mkdir templates
|
|
export VERSION=$$(basename $$(curl -s -w %{redirect_url} https://github.com/kubevirt/containerized-data-importer/releases/latest)) && \
|
|
wget https://github.com/kubevirt/containerized-data-importer/releases/download/$$VERSION/cdi-cr.yaml -O templates/cdi-cr.yaml
|