1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00

chore: upgrade controller-gen to 0.4.1

we want minProperties/maxProperties validation, see here:
https://github.com/kubernetes-sigs/controller-tools/releases/tag/v0.4.1
and
https://github.com/kubernetes-sigs/controller-tools/pull/488/files
This commit is contained in:
Moritz Johner 2020-11-30 21:29:46 +01:00
parent 8deaa8471a
commit 0fce597e54

View file

@ -71,7 +71,7 @@ ifeq (, $(shell which controller-gen))
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\
cd $$CONTROLLER_GEN_TMP_DIR ;\
go mod init tmp ;\
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.2.5 ;\
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.4.1 ;\
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\
}
CONTROLLER_GEN=$(GOBIN)/controller-gen