mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-03-21 13:41:18 +00:00
This change is aimed at improving the development experience. - The option `make delete` has been added. - Added check for `NAME` and `NAMESPACE` variables - Now, any package (not just system ones) can include options such as make show, make diff, make apply. - Applications from packages/extra require explicit specification of the `NAMESPACE`. - Applications from packages/apps require explicit specification of both `NAME` and `NAMESPACE`. Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
12 lines
450 B
Makefile
12 lines
450 B
Makefile
export NAME=kubevirt
|
|
export NAMESPACE=cozy-$(NAME)
|
|
|
|
include ../../../scripts/package.mk
|
|
|
|
update:
|
|
rm -rf templates
|
|
mkdir templates
|
|
export RELEASE=$$(curl https://storage.googleapis.com/kubevirt-prow/release/kubevirt/kubevirt/stable.txt) && \
|
|
wget https://github.com/kubevirt/kubevirt/releases/download/$${RELEASE}/kubevirt-cr.yaml -O templates/kubevirt-cr.yaml
|
|
sed -i 's/namespace: kubevirt/namespace: cozy-kubevirt/g' templates/kubevirt-cr.yaml
|