From 0daf33ffdd162850eafa68823108595191f85c3c Mon Sep 17 00:00:00 2001 From: Roman Dodin Date: Mon, 1 Jul 2024 17:45:32 +0200 Subject: [PATCH] Bump default constraints (#42) * bump default constraints * pin envtest --- Makefile | 2 +- api/v1/types.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 82ab361..4f0884b 100644 --- a/Makefile +++ b/Makefile @@ -164,4 +164,4 @@ $(CONTROLLER_GEN): $(LOCALBIN) .PHONY: envtest envtest: $(ENVTEST) ## Download envtest-setup locally if necessary. $(ENVTEST): $(LOCALBIN) - test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest + test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@release-0.17 diff --git a/api/v1/types.go b/api/v1/types.go index cf62130..c1557bd 100644 --- a/api/v1/types.go +++ b/api/v1/types.go @@ -29,8 +29,8 @@ var ( //nolint:gochecknoglobals defaultConstraints = map[string]string{ - "cpu": "0.5", - "memory": "1Gi", + "cpu": "2", + "memory": "4Gi", } )