From ede7a9b71e1440c4990a192dd6379257b9757a59 Mon Sep 17 00:00:00 2001 From: Akos Eros Date: Thu, 15 Oct 2026 13:27:03 +0200 Subject: [PATCH] feat: change bundle target to not use envsubst This change is mainly needed for CI operator upgrade testing where we have less tools available in the image. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d323540aa..7e955ea81 100644 --- a/Makefile +++ b/Makefile @@ -306,7 +306,9 @@ endef .PHONY: bundle bundle: manifests kustomize operator-sdk ## Generate bundle manifests and metadata, then validate generated files. $(OPERATOR_SDK) generate kustomize manifests -q - $(KUSTOMIZE) build config/manifests | envsubst | $(OPERATOR_SDK) generate bundle $(BUNDLE_GEN_FLAGS) + (cd config/manager && $(KUSTOMIZE) edit set image \\\$${IMG}=${IMG}) + (cd config/console-plugin && $(KUSTOMIZE) edit set image \\\$${CONSOLE_PLUGIN_IMAGE}=${CONSOLE_PLUGIN_IMAGE}) + $(KUSTOMIZE) build config/manifests | $(OPERATOR_SDK) generate bundle $(BUNDLE_GEN_FLAGS) $(MAKE) bundle-fixes bundle-date ./hack/set_openshift_minimum_version.sh $(OPERATOR_SDK) bundle validate ./bundle