Skip to content

Commit

Permalink
clean up go.mod to include only necessary replace directives
Browse files Browse the repository at this point in the history
  • Loading branch information
tariq1890 committed Feb 27, 2024
1 parent 70b8c29 commit ab17e27
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 60 deletions.
28 changes: 1 addition & 27 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,7 @@ go 1.21.3

toolchain go1.21.5

replace (
k8s.io/api => k8s.io/api v0.29.2
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.29.2
k8s.io/apimachinery => k8s.io/apimachinery v0.29.2
k8s.io/apiserver => k8s.io/apiserver v0.29.2
k8s.io/cli-runtime => k8s.io/cli-runtime v0.29.2
k8s.io/client-go => k8s.io/client-go v0.29.2
k8s.io/cloud-provider => k8s.io/cloud-provider v0.29.2
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.29.2
k8s.io/code-generator => k8s.io/code-generator v0.29.2
k8s.io/component-base => k8s.io/component-base v0.29.2
k8s.io/component-helpers => k8s.io/component-helpers v0.29.2
k8s.io/controller-manager => k8s.io/controller-manager v0.29.2
k8s.io/cri-api => k8s.io/cri-api v0.29.2
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.29.2
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.29.2
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.29.2
k8s.io/kube-proxy => k8s.io/kube-proxy v0.29.2
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.29.2
k8s.io/kubectl => k8s.io/kubectl v0.29.2
k8s.io/kubelet => k8s.io/kubelet v0.29.2
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.29.2
k8s.io/metrics => k8s.io/metrics v0.29.2
k8s.io/mount-utils => k8s.io/mount-utils v0.29.2
k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.29.2
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.29.2
)
replace k8s.io/mount-utils => k8s.io/mount-utils v0.29.2

require (
github.com/NVIDIA/go-gpuallocator v0.3.2
Expand Down
42 changes: 9 additions & 33 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ helm.sh/helm/v3/pkg/storage/driver
helm.sh/helm/v3/pkg/strvals
helm.sh/helm/v3/pkg/time
helm.sh/helm/v3/pkg/uploader
# k8s.io/api v0.29.2 => k8s.io/api v0.29.2
# k8s.io/api v0.29.2
## explicit; go 1.21
k8s.io/api/admission/v1
k8s.io/api/admission/v1beta1
Expand Down Expand Up @@ -814,7 +814,7 @@ k8s.io/api/scheduling/v1beta1
k8s.io/api/storage/v1
k8s.io/api/storage/v1alpha1
k8s.io/api/storage/v1beta1
# k8s.io/apiextensions-apiserver v0.29.2 => k8s.io/apiextensions-apiserver v0.29.2
# k8s.io/apiextensions-apiserver v0.29.2
## explicit; go 1.21
k8s.io/apiextensions-apiserver/pkg/apis/apiextensions
k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1
Expand All @@ -825,7 +825,7 @@ k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset
k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/scheme
k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1
k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1
# k8s.io/apimachinery v0.29.2 => k8s.io/apimachinery v0.29.2
# k8s.io/apimachinery v0.29.2
## explicit; go 1.21
k8s.io/apimachinery/pkg/api/equality
k8s.io/apimachinery/pkg/api/errors
Expand Down Expand Up @@ -885,16 +885,16 @@ k8s.io/apimachinery/pkg/watch
k8s.io/apimachinery/third_party/forked/golang/json
k8s.io/apimachinery/third_party/forked/golang/netutil
k8s.io/apimachinery/third_party/forked/golang/reflect
# k8s.io/apiserver v0.29.2 => k8s.io/apiserver v0.29.2
# k8s.io/apiserver v0.29.2
## explicit; go 1.21
k8s.io/apiserver/pkg/endpoints/deprecation
# k8s.io/cli-runtime v0.29.2 => k8s.io/cli-runtime v0.29.2
# k8s.io/cli-runtime v0.29.2
## explicit; go 1.21
k8s.io/cli-runtime/pkg/genericclioptions
k8s.io/cli-runtime/pkg/genericiooptions
k8s.io/cli-runtime/pkg/printers
k8s.io/cli-runtime/pkg/resource
# k8s.io/client-go v0.29.2 => k8s.io/client-go v0.29.2
# k8s.io/client-go v0.29.2
## explicit; go 1.21
k8s.io/client-go/applyconfigurations/admissionregistration/v1
k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1
Expand Down Expand Up @@ -1045,7 +1045,7 @@ k8s.io/client-go/util/homedir
k8s.io/client-go/util/jsonpath
k8s.io/client-go/util/keyutil
k8s.io/client-go/util/workqueue
# k8s.io/component-base v0.29.2 => k8s.io/component-base v0.29.2
# k8s.io/component-base v0.29.2
## explicit; go 1.21
k8s.io/component-base/version
# k8s.io/klog/v2 v2.120.1
Expand All @@ -1069,7 +1069,7 @@ k8s.io/kube-openapi/pkg/spec3
k8s.io/kube-openapi/pkg/util/proto
k8s.io/kube-openapi/pkg/util/proto/validation
k8s.io/kube-openapi/pkg/validation/spec
# k8s.io/kubectl v0.29.2 => k8s.io/kubectl v0.29.2
# k8s.io/kubectl v0.29.2
## explicit; go 1.21
k8s.io/kubectl/pkg/cmd/util
k8s.io/kubectl/pkg/scheme
Expand All @@ -1079,7 +1079,7 @@ k8s.io/kubectl/pkg/util/openapi
k8s.io/kubectl/pkg/util/templates
k8s.io/kubectl/pkg/util/term
k8s.io/kubectl/pkg/validation
# k8s.io/kubelet v0.29.2 => k8s.io/kubelet v0.29.2
# k8s.io/kubelet v0.29.2
## explicit; go 1.21
k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1
# k8s.io/mount-utils v0.25.0 => k8s.io/mount-utils v0.29.2
Expand Down Expand Up @@ -1228,28 +1228,4 @@ tags.cncf.io/container-device-interface/pkg/parser
# tags.cncf.io/container-device-interface/specs-go v0.6.0
## explicit; go 1.19
tags.cncf.io/container-device-interface/specs-go
# k8s.io/api => k8s.io/api v0.29.2
# k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.29.2
# k8s.io/apimachinery => k8s.io/apimachinery v0.29.2
# k8s.io/apiserver => k8s.io/apiserver v0.29.2
# k8s.io/cli-runtime => k8s.io/cli-runtime v0.29.2
# k8s.io/client-go => k8s.io/client-go v0.29.2
# k8s.io/cloud-provider => k8s.io/cloud-provider v0.29.2
# k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.29.2
# k8s.io/code-generator => k8s.io/code-generator v0.29.2
# k8s.io/component-base => k8s.io/component-base v0.29.2
# k8s.io/component-helpers => k8s.io/component-helpers v0.29.2
# k8s.io/controller-manager => k8s.io/controller-manager v0.29.2
# k8s.io/cri-api => k8s.io/cri-api v0.29.2
# k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.29.2
# k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.29.2
# k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.29.2
# k8s.io/kube-proxy => k8s.io/kube-proxy v0.29.2
# k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.29.2
# k8s.io/kubectl => k8s.io/kubectl v0.29.2
# k8s.io/kubelet => k8s.io/kubelet v0.29.2
# k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.29.2
# k8s.io/metrics => k8s.io/metrics v0.29.2
# k8s.io/mount-utils => k8s.io/mount-utils v0.29.2
# k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.29.2
# k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.29.2

0 comments on commit ab17e27

Please sign in to comment.