diff --git a/go.mod b/go.mod index bf3b0143..4011bff1 100644 --- a/go.mod +++ b/go.mod @@ -11,3 +11,29 @@ require ( gopkg.in/yaml.v2 v2.4.0 k8s.io/client-go v0.20.2 ) + +exclude ( + // Exclude pre-go-mod kubernetes tags, as they are older + // than v0.x releases but are picked when we update the dependencies. + k8s.io/client-go v1.4.0 + k8s.io/client-go v1.4.0+incompatible + k8s.io/client-go v1.5.0 + k8s.io/client-go v1.5.0+incompatible + k8s.io/client-go v1.5.1 + k8s.io/client-go v1.5.1+incompatible + k8s.io/client-go v10.0.0+incompatible + k8s.io/client-go v11.0.0+incompatible + k8s.io/client-go v2.0.0+incompatible + k8s.io/client-go v2.0.0-alpha.1+incompatible + k8s.io/client-go v3.0.0+incompatible + k8s.io/client-go v3.0.0-beta.0+incompatible + k8s.io/client-go v4.0.0+incompatible + k8s.io/client-go v4.0.0-beta.0+incompatible + k8s.io/client-go v5.0.0+incompatible + k8s.io/client-go v5.0.1+incompatible + k8s.io/client-go v6.0.0+incompatible + k8s.io/client-go v7.0.0+incompatible + k8s.io/client-go v8.0.0+incompatible + k8s.io/client-go v9.0.0+incompatible + k8s.io/client-go v9.0.0-invalid+incompatible +)