update IMG default in Makefile
This commit is contained in:
8
Makefile
8
Makefile
@@ -9,7 +9,7 @@ OPERATOR_SDK_VERSION ?= v1.41.1
|
||||
CONTAINER_TOOL ?= docker
|
||||
|
||||
# Image URL to use all building/pushing image targets
|
||||
IMG ?= controller:latest
|
||||
IMG ?= ${IMAGE_TAG_BASE}:dev
|
||||
|
||||
.PHONY: all
|
||||
all: docker-build
|
||||
@@ -127,4 +127,8 @@ ifeq (, $(shell which operator-sdk 2>/dev/null))
|
||||
else
|
||||
OPERATOR_SDK = $(shell which operator-sdk)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
.PHONY: dev
|
||||
dev: operator-sdk ## Run the controller locally against the configured Kubernetes cluster in ~/.kube/config.
|
||||
$(OPERATOR_SDK) run --local
|
||||
Reference in New Issue
Block a user