Skip to content

Commit 95f7a8e

Browse files
committed
remove deprecated targets related to deployment
the deploy targets do not work anymore since the directory-structure does not exist. This is because the deployment needs an additionaly OCI registry. To deploy the controller one can use the instructions in the README.md
1 parent 9d5597f commit 95f7a8e

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

Makefile

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -132,36 +132,6 @@ docker-build: ## Build docker image with the manager.
132132
docker-push: ## Push docker image with the manager.
133133
docker push ${IMG}:${TAG}
134134

135-
##@ Deployment
136-
137-
ifndef ignore-not-found
138-
ignore-not-found = false
139-
endif
140-
141-
.PHONY: install
142-
install: manifests kustomize ## Install CRDs into the K8s cluster specified in ~/.kube/config.
143-
$(KUSTOMIZE) build config/crd | kubectl apply -f -
144-
145-
.PHONY: uninstall
146-
uninstall: manifests kustomize ## Uninstall CRDs from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion.
147-
$(KUSTOMIZE) build config/crd | kubectl delete --ignore-not-found=$(ignore-not-found) -f -
148-
149-
.PHONY: deploy
150-
deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
151-
cd config/default && $(KUSTOMIZE) edit set image open-component-model/ocm-controller=$(IMG):$(TAG)
152-
$(KUSTOMIZE) build config/default | kubectl apply -f -
153-
154-
.PHONY: dev-deploy
155-
dev-deploy: kustomize ## Deploy controller dev image in the configured Kubernetes cluster in ~/.kube/config
156-
mkdir -p config/dev && cp -R config/default/* config/dev
157-
cd config/dev && $(KUSTOMIZE) edit set image open-component-model/ocm-controller=$(IMG):$(TAG)
158-
$(KUSTOMIZE) build config/dev | kubectl apply -f -
159-
rm -rf config/dev
160-
161-
.PHONY: undeploy
162-
undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion.
163-
$(KUSTOMIZE) build config/default | kubectl delete --ignore-not-found=$(ignore-not-found) -f -
164-
165135
##@ Component
166136

167137
.PHONY: plain-push

0 commit comments

Comments
 (0)