uswitch / nidhogg

Kubernetes Node taints based on Daemonset Pods
Apache License 2.0
76 stars 15 forks source link

go: migrate from Gopkg to modules #21

Closed JulienBalestra closed 3 years ago

JulienBalestra commented 4 years ago

I kept the dep at the version they were in the first place, to ease the review:

go mod init
go: creating new go.mod: module github.com/uswitch/nidhogg
go: copying requirements from Gopkg.lock
Joseph-Irving commented 4 years ago

So I tried doing this myself, but I couldn't get it to work as kubebuilder v1 doesn't support go mod, the v2 does but it's a bit of a pain to migrate to it https://book.kubebuilder.io/migration/guide.html