kubernetes / ingress-gce

Ingress controller for Google Cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pin dependencies of update-codegen.sh

spencerhance opened this issue · comments

While looking at #1855 it came up that we are not pinning versions of the two dependencies:

  1. k8s.io/code-generator
  2. k8s.io/kube-openapi/cmd/openapi-gen

We should pin these so that we can have reproducible results when running our API generation.

We should be able to use the same approach as golangci-lint in hack/tools/tools.go to install the dependencies. Then we can access them like how it's done in build/test.sh.