TykTechnologies / tyk-k8s

Kubernetes ingress controller and sidecar injector for Tyk API Gateway
https://tyk.io
Other
7 stars 5 forks source link

Fixes vendoring and injector tests #25

Closed excieve closed 5 years ago

excieve commented 5 years ago

Vendored dependencies were a bit broken due to renames and odd sources so couldn't even properly substitute with go get when building. This resolves tyk-git -> tyk-sync rename, moves k8s deps to its own sources (instead of non-existing k8s.io/vendor), updates Tyk gateway dependency to 2.8, adds cfssl and other missing stuff.

Needs more cleaning up though, probably after 2.9 release as it will change deps too.

Also injector tests were broken, expecting 3 patch ops on pod admission request, which is now wrong since this triggers only 2 ops (service port not included). So that's fixed too.

excieve commented 5 years ago

This should unblock the pipeline, which currently fails to properly build (even with go get) and test.