Skip to content

Commit 755a95d

Browse files
committed
update gateway API CRD installation with --server-side flag
1 parent b237690 commit 755a95d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ install-crds: ## Install CRDs
130130

131131
.PHONY: install-gateway-crds
132132
install-gateway-crds: ## Install Gateway API CRDs
133-
kubectl kustomize $(SELF_DIR)config/crd/gateway-api/$(if $(filter true,$(ENABLE_EXPERIMENTAL)),experimental,standard) | kubectl apply -f -
133+
kubectl kustomize $(SELF_DIR)config/crd/gateway-api/$(if $(filter true,$(ENABLE_EXPERIMENTAL)),experimental,standard) | kubectl apply --server-side -f -
134134

135135
.PHONY: uninstall-gateway-crds
136136
uninstall-gateway-crds: ## Uninstall Gateway API CRDs

tests/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ HELM_PARAMETERS += --set nginxGateway.name=nginx-gateway --set nginx.service.typ
176176
# it overrides the target in the main Makefile when the GW_API_VERSION is set to main
177177
ifeq ($(GW_API_VERSION),main)
178178
install-gateway-crds:
179-
kubectl kustomize "https://github.com/kubernetes-sigs/gateway-api/config/crd/$(if $(filter true,$(ENABLE_EXPERIMENTAL)),experimental,)?timeout=120&ref=main" | kubectl apply -f -
179+
kubectl kustomize "https://github.com/kubernetes-sigs/gateway-api/config/crd/$(if $(filter true,$(ENABLE_EXPERIMENTAL)),experimental,)?timeout=120&ref=main" | kubectl apply --server-side -f -
180180
endif
181181

182182
.PHONY: install-ngf-local-no-build

0 commit comments

Comments
 (0)