stackanetes / kubernetes-entrypoint

Used as a container entrypoint, it will wait for specified k8s dependencies, create files based on ConfigMaps, and much more - before running a given command.
Apache License 2.0
51 stars 18 forks source link

Update to use client-go v10.0.0 #37

Closed ian-howell closed 5 years ago

ian-howell commented 5 years ago

This removes dependencies on the stale v1.5.1 client-go and updates the project to work with the current v10.0.0 release.

This change will make it easier to implement new CRDs which use more recent versions of client-go

I recognize that there are more than 2000 files changed in this PR. This is due to changes made by godep

ian-howell commented 5 years ago

What're the odds of abandoning go 1.7 in favor of a newer release?

ian-howell commented 5 years ago

I've updated the travisCI gates. The gates now check go1.11, go1.11.1, and gotip. The selection of go1.11.1 was pretty arbitrary (it's what I've been using) - it would probably be more prudent to use go1.11.4, since that's what kubernetes 1.13 is using as of this commit (and client-go 10.0.0 uses kubernetes 1.13). I will gladly change it if needed.

PiotrProkop commented 5 years ago

Yeah, 1.11.4 sounds good.

ian-howell commented 5 years ago

Done. This should be ready to merge :)