Writes and verify image

This commit is contained in:
2026-04-04 02:45:46 +08:00
parent 9cb593ffc0
commit 4f490ab37e
20 changed files with 596 additions and 65 deletions

View File

@@ -2,7 +2,7 @@
VERSION ?= dev
# Target kube version
KUBE_VERSION ?= v1.34.1
KUBE_VERSION ?= v1.35.0
GIT_REV := $(shell git rev-parse HEAD)
@@ -41,8 +41,8 @@ build-local: .buildinfo
mkdir -p $(BIN_DIR)
go build -o $(BIN_DIR)/ctl-$(VERSION) ./cmd/ctl
run:
go run ./cmd/ctl
run-agent:
go run -tags dev ./cmd/ctl agent --env-file ./out/cluster.env
clean:
-docker image rm localhost/monok8s/control-agent:$(VERSION)