update controller-gen to v0.3.0
the first version to be k8s 1.18 compatible
@@ -88,7 +88,7 @@ schemas: fmt vet openapischema
.PHONY: contoller-gen
controller-gen:
ifeq (, $(shell which controller-gen))
- go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.2.8
+ go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.3.0
CONTROLLER_GEN=$(shell go env GOPATH)/bin/controller-gen
else
CONTROLLER_GEN=$(shell which controller-gen)
