Skip to content

Commit

Permalink
chore: update go mod to remove requires
Browse files Browse the repository at this point in the history
This PR updates the go mod to use the latest v0.3 capi release, as well
as downgrade controller-runtime to match. The only real fallout of this
was the removal of the ctx from some calls to the k8s api, so shouldn't
be a big deal to readd this stuff once we move to v0.4 of capi.

Signed-off-by: Spencer Smith <[email protected]>
  • Loading branch information
rsmitty committed Sep 15, 2021
1 parent 2e0c2fe commit 3053852
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 207 deletions.
24 changes: 5 additions & 19 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,15 @@ module github.com/talos-systems/capi-utils

go 1.16

replace (
// See https://github.com/talos-systems/go-loadbalancer/pull/4
// `go get github.com/smira/tcpproxy@combined-fixes`, then copy pseudo-version there
inet.af/tcpproxy => github.com/smira/tcpproxy v0.0.0-20201015133617-de5f7797b95b

// keep older versions of k8s.io packages to keep compatiblity with cluster-api
k8s.io/api v0.21.3 => k8s.io/api v0.20.5
k8s.io/apimachinery v0.21.3 => k8s.io/apimachinery v0.20.5
k8s.io/client-go v0.21.3 => k8s.io/client-go v0.20.5

sigs.k8s.io/cluster-api v0.3.20 => sigs.k8s.io/cluster-api v0.3.9
)

require (
github.com/spf13/cobra v1.1.3
github.com/talos-systems/go-debug v0.2.1
github.com/talos-systems/go-retry v0.3.1
github.com/talos-systems/talos/pkg/machinery v0.11.5
google.golang.org/grpc v1.40.0
k8s.io/api v0.21.3
k8s.io/apimachinery v0.21.3
k8s.io/client-go v0.21.3
k8s.io/klog/v2 v2.8.0 // indirect
sigs.k8s.io/cluster-api v0.3.20
sigs.k8s.io/controller-runtime v0.6.3
k8s.io/api v0.17.9
k8s.io/apimachinery v0.17.9
k8s.io/client-go v0.17.9
sigs.k8s.io/cluster-api v0.3.23
sigs.k8s.io/controller-runtime v0.5.14
)
Loading

0 comments on commit 3053852

Please sign in to comment.