Update the `k8s.io/utils` package to feature the `ParseCIDRSloppy` and
`ParseIPSloppy` functions, which perform a backwards compatible CIDR and
IP parsing, by allowing leading zeroes in the addresses - something
which golang1.17 rejects.
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
This kubebuilder version allows us to specify the CRD api version
which in turn will allow us to generate CRDs using `v1` instead
of `v1beta1` which will be **removed** in kubernetes 1.22.
We also use a newer version of the kubebuilder test binaries, so
we can use the `v1` API.
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
* go mod init
* go mod tidy
* go mod vendor
* update glide reference to go mod
* update deps to latest
* use github as import path for etcd to avoid some build errors
* remove glide files
* run fmt