Skip to content

Commit

Permalink
For now, use --server-side to circumvent CRD size problems
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Engelbert <pmengelbert@gmail.com>
  • Loading branch information
pmengelbert committed Dec 16, 2022
1 parent e833b27 commit f5e49c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ docker-build-collector:
install: manifests ## Install CRDs into the K8s cluster specified in ~/.kube/config.
docker run --rm -v $(shell pwd)/config:/config \
k8s.gcr.io/kustomize/kustomize:v${KUSTOMIZE_VERSION} build \
/config/crd | kubectl apply -f -
/config/crd | kubectl apply --server-side -f -

uninstall: manifests ## Uninstall CRDs from the K8s cluster specified in ~/.kube/config.
docker run --rm -v $(shell pwd)/config:/config \
Expand All @@ -212,7 +212,7 @@ deploy: manifests ## Deploy controller to the K8s cluster specified in ~/.kube/c
k8s.gcr.io/kustomize/kustomize:v${KUSTOMIZE_VERSION} edit set image controller=${MANAGER_IMG}
docker run --rm -v $(shell pwd)/config:/config \
k8s.gcr.io/kustomize/kustomize:v${KUSTOMIZE_VERSION} build \
/config/default | kubectl apply -f -
/config/default | kubectl apply --server-side -f -

undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/config.
docker run --rm -v $(shell pwd)/config:/config \
Expand Down

0 comments on commit f5e49c8

Please sign in to comment.