openfaas / faas-netes

Serverless Functions For Kubernetes
https://www.openfaas.com
Other
2.13k stars 471 forks source link

Update update-crds.sh for Go 1.17 #924

Closed alexellis closed 2 years ago

alexellis commented 2 years ago

Current Behaviour / Expected Behaviour

The update-crds.sh script uses go install which is deprecated in Go 1.17.

List All Possible Solutions and Workarounds

We need to switch to go get -d $PKG instead.

Steps to Reproduce (for bugs)

  1. Install Go 1.17
  2. Run ./hack/generate-crds.sh in the faas-netes repo

Also needs the same change:

https://github.com/openfaas/ingress-operator

https://github.com/inlets/inlets-operator

alexellis commented 2 years ago

Thanks to @LucasRoesler for taking this on a few months back.