mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-28 02:18:36 +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
461 B
Makefile
12 lines
461 B
Makefile
export NAME=cosi-controller
|
|
export NAMESPACE=cozy-$(NAME)
|
|
|
|
include ../../../scripts/package.mk
|
|
|
|
update:
|
|
rm -rf templates
|
|
mkdir templates
|
|
kubectl kustomize github.com/kubernetes-sigs/container-object-storage-interface-api > templates/crds.yaml
|
|
kubectl kustomize github.com/kubernetes-sigs/container-object-storage-interface-controller > templates/controller.yaml
|
|
sed -i 's/namespace: default/namespace: {{ .Release.Namespace }}/g' templates/controller.yaml
|