mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-15 17:51:01 +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:
parent
8deaa8471a
commit
0fce597e54
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -71,7 +71,7 @@ ifeq (, $(shell which controller-gen))
|
||||||
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\
|
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\
|
||||||
cd $$CONTROLLER_GEN_TMP_DIR ;\
|
cd $$CONTROLLER_GEN_TMP_DIR ;\
|
||||||
go mod init tmp ;\
|
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 ;\
|
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\
|
||||||
}
|
}
|
||||||
CONTROLLER_GEN=$(GOBIN)/controller-gen
|
CONTROLLER_GEN=$(GOBIN)/controller-gen
|
||||||
|
|
Loading…
Reference in a new issue