Skip to content

Commit 063317c

Browse files
authored
kubectl apply using --server-side to avoid apply failure (#363)
- avoid kubectl.kubernetes.io/last-applied-configuration too large
1 parent b58e605 commit 063317c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ 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 -
229+
$(KUSTOMIZE) build config/crd | $(KUBECTL) apply --server-side -f -
230230

231231
.PHONY: uninstall
232232
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.

0 commit comments

Comments
 (0)