@@ -25,6 +25,9 @@ export CERT_MGR_VERSION := v1.9.0
25
25
export CATALOGD_VERSION := $(shell go list -mod=mod -m -f "{{.Version}}" github.com/operator-framework/catalogd)
26
26
export WAIT_TIMEOUT := 60s
27
27
28
+ # Install default ClusterCatalogs
29
+ export INSTALL_DEFAULT_CATALOGS := true
30
+
28
31
# By default setup-envtest will write to $XDG_DATA_HOME, or $HOME/.local/share if that is not defined.
29
32
# If $HOME is not set, we need to specify a binary directory to prevent an error in setup-envtest.
30
33
# Useful for some CI/CD environments that set neither $XDG_DATA_HOME nor $HOME.
@@ -168,6 +171,7 @@ test-e2e: run image-registry build-push-e2e-catalog registry-load-bundles e2e e2
168
171
.PHONY : extension-developer-e2e
169
172
extension-developer-e2e : KUSTOMIZE_BUILD_DIR := config/overlays/cert-manager
170
173
extension-developer-e2e : KIND_CLUSTER_NAME := operator-controller-ext-dev-e2e # EXHELP Run extension-developer e2e on local kind cluster
174
+ extension-developer-e2e : export INSTALL_DEFAULT_CATALOGS := false # EXHELP Run extension-developer e2e on local kind cluster
171
175
extension-developer-e2e : run image-registry test-ext-dev-e2e kind-clean
172
176
173
177
.PHONY : run-latest-release
@@ -200,7 +204,7 @@ kind-load: $(KIND) #EXHELP Loads the currently constructed image onto the cluste
200
204
kind-deploy : export MANIFEST="./operator-controller.yaml"
201
205
kind-deploy : manifests $(KUSTOMIZE ) # EXHELP Install controller and dependencies onto the kind cluster.
202
206
$(KUSTOMIZE ) build $(KUSTOMIZE_BUILD_DIR ) > operator-controller.yaml
203
- envsubst ' $$CATALOGD_VERSION,$$CERT_MGR_VERSION,$$MANIFEST' < scripts/install.tpl.sh | bash -s
207
+ envsubst ' $$CATALOGD_VERSION,$$CERT_MGR_VERSION,$$INSTALL_DEFAULT_CATALOGS,$$ MANIFEST' < scripts/install.tpl.sh | bash -s
204
208
205
209
.PHONY : kind-cluster
206
210
kind-cluster : $(KIND ) # EXHELP Standup a kind cluster.
@@ -284,7 +288,7 @@ release: $(GORELEASER) #EXHELP Runs goreleaser for the operator-controller. By d
284
288
quickstart : export MANIFEST := https://github.com/operator-framework/operator-controller/releases/download/$(VERSION ) /operator-controller.yaml
285
289
quickstart : $(KUSTOMIZE ) manifests # EXHELP Generate the installation release manifests and scripts.
286
290
$(KUSTOMIZE ) build $(KUSTOMIZE_BUILD_DIR ) | sed " s/:devel/:$( VERSION) /g" > operator-controller.yaml
287
- envsubst ' $$CATALOGD_VERSION,$$CERT_MGR_VERSION,$$MANIFEST' < scripts/install.tpl.sh > install.sh
291
+ envsubst ' $$CATALOGD_VERSION,$$CERT_MGR_VERSION,$$INSTALL_DEFAULT_CATALOGS,$$ MANIFEST' < scripts/install.tpl.sh > install.sh
288
292
289
293
# #@ Docs
290
294
0 commit comments