# 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 ## gen-cue: Generate CUE files from Go files. Variable DIR is the directory of the Go files, FLAGS is the flags for vela def gen-cue command. .PHONY: gen-cue gen-cue: ./hack/cuegen/cuegen.sh $(DIR) $(FLAGS)