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 Jan 5, 2023
1 parent 6b47992 commit bbef89a
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 bbef89a

Please sign in to comment.