diff --git a/Makefile b/Makefile index 2c7f756af..e4a31d138 100755 --- a/Makefile +++ b/Makefile @@ -168,14 +168,8 @@ kind-cluster: kind load-on-kind: docker-build kind-cluster ## Load the docker image into the kind cluster. $(KIND) load docker-image ${IMG} -deploy-olm: export KIND_WITH_REGISTRY=true -deploy-olm: operator-sdk kind-cluster ## deploys OLM on the cluster - $(OPERATOR_SDK) olm install --version $(OLM_VERSION) --timeout 5m0s - $(OPERATOR_SDK) olm status - deploy-with-olm: export VERSION=dev -deploy-with-olm: export CSV_VERSION=0.0.0 -deploy-with-olm: deploy-olm load-on-kind build-and-push-bundle-images ## deploys the operator with OLM instead of manifests +deploy-with-olm: load-on-kind build-and-push-bundle-images ## deploys the operator with OLM instead of manifests sed -i 's|image:.*|image: $(BUNDLE_INDEX_IMG)|' config/olm-install/install-resources.yaml sed -i 's#mymetallb#$(NAMESPACE)#g' config/olm-install/install-resources.yaml $(KUSTOMIZE) build config/olm-install | kubectl apply -f - diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 0b2f94f84..d27c9ec8b 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -7,4 +7,4 @@ patchesStrategicMerge: images: - name: controller newName: quay.io/metallb/metallb-operator - newTag: main + newTag: dev \ No newline at end of file