-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (27 loc) · 876 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
.PHONY: genall
genall:
hack/update-codegen.sh
hack/update-crdgen.sh
.PHONY: vendor
vendor:
go mod tidy && go mod vendor
.PHONY: run
run:
kubectl apply -f deploy
docker buildx build --push --platform linux/amd64 -t daocloud.io/atsctoo/firefly-controller-manager .
kubectl rollout restart deployment firefly-controller-manager
sleep 1
kubectl get po
.PHONY: local-run
local-run:
go run cmd/firefly-controller-manager/controller-manager.go \
--kubeconfig ~/.kube/config \
--authentication-kubeconfig ~/.kube/config \
--authorization-kubeconfig ~/.kube/config
.PHONY: run1
run1:
go run cmd/firefly-karmada-manager/controller-manager.go \
--karmada-kubeconfig /root/workspaces/firefly/config \
--authentication-kubeconfig /root/workspaces/firefly/config \
--authorization-kubeconfig /root/workspaces/firefly/config \
--firefly-kubeconfig ~/.kube/config