提交 8a0c840e 编写于 作者: M Medya Gh

move kic docker image to minikube gcr

上级 88bef295
......@@ -483,6 +483,13 @@ else
docker build -t $(REGISTRY)/storage-provisioner-$(GOARCH):$(STORAGE_PROVISIONER_TAG) -f deploy/storage-provisioner/Dockerfile-$(GOARCH) .
endif
.PHONY: kic-base-image
kic-base-image: ## builds the base image used for kic.
docker rmi -f $(REGISTRY)/kicbase:v0.0.1-snapshot || true
docker build -f ./hack/images/kicbase.Dockerfile -t $(REGISTRY)/kicbase:v0.0.1-snapshot --build-arg COMMIT_SHA=${VERSION}-$(COMMIT) .
.PHONY: push-storage-provisioner-image
push-storage-provisioner-image: storage-provisioner-image ## Push storage-provisioner docker image using gcloud
ifeq ($(GOARCH),amd64)
......@@ -592,11 +599,6 @@ out/performance-monitor:
GOOS=$(GOOS) GOARCH=$(GOARCH) go build -o $@ cmd/performance/monitor/monitor.go
.PHONY: kic-image
kic-image: ## builds the image used for kic (kubernets in container) locally.
docker rmi -f medyagh/kicbase:v0.0.1-snapshot || true
docker build -f ./hack/kic.Dockerfile -t medyagh/kicbase:v0.0.1-snapshot --build-arg COMMIT_SHA=${VERSION}-$(COMMIT) .
.PHONY: help
help:
@printf "\033[1mAvailable targets for minikube ${VERSION}\033[21m\n"
......
......@@ -194,7 +194,7 @@ func (k *Bootstrapper) StartCluster(k8s config.KubernetesConfig) error {
}
glog.Infof("Configuring cluster permissions ...")
fmt.Printf("Medya dbg :\n%+v\n", k8s)
elevate := func() error {
client, err := k.client(k8s)
if err != nil {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册