update IMG default in Makefile

This commit is contained in:
Joel Wetzell
2026-03-13 20:50:51 -05:00
parent 38f3c2e233
commit f590e102c7

View File

@@ -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