@@ -6,6 +6,7 @@ export IMAGE_REPO ?= quay.io/operator-framework/operator-controller
6
6
export IMAGE_TAG ?= devel
7
7
export CERT_MGR_VERSION ?= v1.9.0
8
8
export CATALOGD_VERSION ?= $(shell go list -mod=mod -m -f "{{.Version}}" github.com/operator-framework/catalogd)
9
+ export KAPP_VERSION ?= v0.50.0# TODO replace with above or below line to pull version from go.mod
9
10
export RUKPAK_VERSION=$(shell go list -mod=mod -m -f "{{.Version}}" github.com/operator-framework/rukpak)
10
11
export WAIT_TIMEOUT ?= 60s
11
12
IMG? =$(IMAGE_REPO ) :$(IMAGE_TAG )
@@ -157,7 +158,7 @@ kind-load: $(KIND) #EXHELP Loads the currently constructed image onto the cluste
157
158
kind-deploy : export MANIFEST="./operator-controller.yaml"
158
159
kind-deploy : manifests $(KUSTOMIZE ) # EXHELP Install controller and dependencies onto the kind cluster.
159
160
$(KUSTOMIZE ) build $(KUSTOMIZE_BUILD_DIR ) > operator-controller.yaml
160
- envsubst ' $$CATALOGD_VERSION,$$CERT_MGR_VERSION,$$RUKPAK_VERSION,$$MANIFEST' < scripts/install.tpl.sh | bash -s
161
+ envsubst ' $$CATALOGD_VERSION,$$CERT_MGR_VERSION,$$KAPP_VERSION,$$ RUKPAK_VERSION,$$MANIFEST' < scripts/install.tpl.sh | bash -s
161
162
162
163
.PHONY : kind-cluster
163
164
kind-cluster : $(KIND ) # EXHELP Standup a kind cluster.
@@ -230,7 +231,7 @@ release: $(GORELEASER) #EXHELP Runs goreleaser for the operator-controller. By d
230
231
quickstart : export MANIFEST="https://github.com/operator-framework/operator-controller/releases/download/$(VERSION ) /operator-controller.yaml"
231
232
quickstart : $(KUSTOMIZE ) manifests # EXHELP Generate the installation release manifests and scripts.
232
233
$(KUSTOMIZE ) build $(KUSTOMIZE_BUILD_DIR ) | sed " s/:devel/:$( VERSION) /g" > operator-controller.yaml
233
- envsubst ' $$CATALOGD_VERSION,$$CERT_MGR_VERSION,$$RUKPAK_VERSION,$$MANIFEST' < scripts/install.tpl.sh > install.sh
234
+ envsubst ' $$CATALOGD_VERSION,$$CERT_MGR_VERSION,$$KAPP_VERSION,$$ RUKPAK_VERSION,$$MANIFEST' < scripts/install.tpl.sh > install.sh
234
235
235
236
# SECTION Deployment
236
237
0 commit comments