Closed iaguis closed 7 years ago
I got pretty confused by the vendoring and the changes in kubernetes but it now compiles and seems to work.
@iaguis why using rkt v1.25.0 instead of the last release?
I chose that kinda arbitrarily because that's what k8s vendors. Although I see not that it's only us (rktlet) that use it. I'll change it to the last release and also do coreos/rkt
-> rkt/rkt
.
Travis fails because tls.Config.Clone()
was added in go1.8 and we're building with go1.7.
It's green now :)
It compiles fine for me.
A couple of changes in the rkt git repository were missed:
$ git grep github.com/coreos/rkt
README.md:[rkt]: https://github.com/coreos/rkt
glide.lock:- name: github.com/coreos/rkt
tests/runtime/runtime_test.go: // Due to https://github.com/coreos/rkt/issues/3473 we need to trim spaces for each line
After the changes mentioned above, LGTM.
Thanks! I fixed those and also removed ./vendor/github.com/coreos/rkt/
lgtm
It now uses:
I had to explicitly list some dependencies to pin them to a version
I also changed some depencency revisions to match what Kubernetes has.
Finally, since I was getting compilation errors similar to the ones mentioned in kelseyhightower/kubernetes-initializer-tutorial#4, I set the version of k8s.io/apimachinery like mentioned there.