mirror of https://github.com/kubevela/kubevela.git
27 lines
891 B
Makefile
27 lines
891 B
Makefile
|
|
# Install CRDs and Definitions of Vela Core into a cluster, this is for develop convenient.
|
|
.PHONY: core-install
|
|
core-install: manifests
|
|
kubectl apply -f hack/namespace.yaml
|
|
kubectl apply -f charts/vela-core/crds/
|
|
@$(OK) install succeed
|
|
|
|
# Uninstall CRDs and Definitions of Vela Core from a cluster, this is for develop convenient.
|
|
.PHONY: core-uninstall
|
|
core-uninstall: manifests
|
|
kubectl delete -f charts/vela-core/crds/
|
|
|
|
# Run against the configured Kubernetes cluster in ~/.kube/config
|
|
.PHONY: run
|
|
run:
|
|
go run ./cmd/core/main.go --application-revision-limit 5
|
|
|
|
# Run against the configured Kubernetes cluster in ~/.kube/config with debug logs
|
|
.PHONY: core-debug-run
|
|
core-debug-run: fmt vet manifests
|
|
go run ./cmd/core/main.go --log-debug=true
|
|
|
|
# Run against the configured Kubernetes cluster in ~/.kube/config
|
|
.PHONY: core-run
|
|
core-run: fmt vet manifests
|
|
go run ./cmd/core/main.go
|