Skip to content

Commit 41d4998

Browse files
varungup90jolfr
authored andcommitted
Remove redundant install crds in makefile (vllm-project#792)
Signed-off-by: Varun Gupta <[email protected]> Signed-off-by: jolfr <[email protected]>
1 parent a96595e commit 41d4998

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,14 +226,12 @@ endif
226226

227227
.PHONY: install
228228
install: manifests kustomize ## Install CRDs into the K8s cluster specified in ~/.kube/config.
229-
$(KUSTOMIZE) build config/crd | $(KUBECTL) apply -f -
230229
## helm creates objects without aibrix prefix, hence deploying gateway components outside of kustomization
231230
$(KUBECTL) create -k config/dependency
232231

233232
.PHONY: uninstall
234233
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.
235234
$(KUBECTL) delete --ignore-not-found=$(ignore-not-found) -k config/dependency
236-
$(KUSTOMIZE) build config/crd | $(KUBECTL) delete --ignore-not-found=$(ignore-not-found) -f -
237235

238236
.PHONY: deploy
239237
deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
@@ -245,14 +243,12 @@ undeploy: kustomize ## Undeploy controller from the K8s cluster specified in ~/.
245243

246244
.PHONY: install-vke
247245
install-vke: manifests kustomize ## Install CRDs into the K8s cluster specified in ~/.kube/config.
248-
$(KUSTOMIZE) build config/crd | $(KUBECTL) apply -f -
249246
## helm creates objects without aibrix prefix, hence deploying gateway components outside of kustomization
250247
$(KUBECTL) create -k config/overlays/vke/dependency
251248

252249
.PHONY: uninstall-vke
253250
uninstall-vke: 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.
254251
$(KUBECTL) delete --ignore-not-found=$(ignore-not-found) -k config/overlays/vke/dependency
255-
$(KUSTOMIZE) build config/crd | $(KUBECTL) delete --ignore-not-found=$(ignore-not-found) -f -
256252

257253
.PHONY: deploy-vke
258254
deploy-vke: manifests kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.

0 commit comments

Comments
 (0)