@@ -561,7 +561,9 @@ uninstall-k8s: check-kubectl check-kustomize check-envsubst ## Uninstall from Ku
561
561
install-openshift-infrastructure :
562
562
ifeq ($(strip $(INFRASTRUCTURE_OVERRIDE ) ) ,true)
563
563
@echo "INFRASTRUCTURE_OVERRIDE is set to true, deploying infrastructure components"
564
- @echo "Installing the Istio Sail Operator and CRDs for Istio and Gateway API"
564
+ @echo "Installing CRDs for Gateway API & GIE"
565
+ kustomize build deploy/components/crds | kubectl apply --server-side --force-conflicts -f -
566
+ @echo "Installing the Istio Sail Operator and CRDs for Istio"
565
567
kustomize build --enable-helm deploy/components/sail-operator | kubectl apply --server-side --force-conflicts -f -
566
568
@echo "Installing the Istio Control Plane"
567
569
kustomize build deploy/components/istio-control-plane | kubectl apply -f -
@@ -586,8 +588,10 @@ ifeq ($(strip $(INFRASTRUCTURE_OVERRIDE)),true)
586
588
@echo "INFRASTRUCTURE_OVERRIDE is set to true, removing infrastructure components"
587
589
@echo "Uninstalling the Istio Control Plane"
588
590
kustomize build deploy/components/istio-control-plane | kubectl delete -f - || true
589
- @echo "Uninstalling the Istio Sail Operator and CRDs for Istio and Gateway API "
591
+ @echo "Uninstalling the Istio Sail Operator and CRDs for Istio"
590
592
kustomize build --enable-helm deploy/components/sail-operator | kubectl delete -f - || true
593
+ @echo "Uninstalling CRDs for Gateway API & GIE"
594
+ kustomize build deploy/components/crds | kubectl delete -f - || true
591
595
else
592
596
$(error "Error: The environment variable INFRASTRUCTURE_OVERRIDE must be set to true in order to run this target.")
593
597
endif
0 commit comments