Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go.mod: add replace directive for the k8s.io packages #1099

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 31 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,37 @@ require (
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
)

replace k8s.io/client-go => k8s.io/client-go v0.26.4
// replace directives to workaround the go.mod issues arising from the
// dependencies importing k8s.io/kubernetes instead of importing specific
// packages from k8s.io. One such dependency is argo-cd. See
// https://github.com/argoproj/argo-cd/issues/4055
replace (
k8s.io/api v0.0.0 => k8s.io/api v0.26.4
k8s.io/apiextensions-apiserver v0.0.0 => k8s.io/apiextensions-apiserver v0.26.4
k8s.io/apimachinery v0.0.0 => k8s.io/apimachinery v0.26.4
k8s.io/apiserver v0.0.0 => k8s.io/apiserver v0.26.4
k8s.io/cli-runtime v0.0.0 => k8s.io/cli-runtime v0.26.4
k8s.io/client-go => k8s.io/client-go v0.26.4
k8s.io/cloud-provider v0.0.0 => k8s.io/cloud-provider v0.26.4
k8s.io/cluster-bootstrap v0.0.0 => k8s.io/cluster-bootstrap v0.26.4
k8s.io/code-generator v0.0.0 => k8s.io/code-generator v0.26.4
k8s.io/component-base v0.0.0 => k8s.io/component-base v0.26.4
k8s.io/component-helpers v0.0.0 => k8s.io/component-helpers v0.26.4
k8s.io/controller-manager v0.0.0 => k8s.io/controller-manager v0.26.4
k8s.io/cri-api v0.0.0 => k8s.io/cri-api v0.26.4
k8s.io/csi-translation-lib v0.0.0 => k8s.io/csi-translation-lib v0.26.4
k8s.io/kube-aggregator v0.0.0 => k8s.io/kube-aggregator v0.26.4
k8s.io/kube-controller-manager v0.0.0 => k8s.io/kube-controller-manager v0.26.4
k8s.io/kube-proxy v0.0.0 => k8s.io/kube-proxy v0.26.4
k8s.io/kube-scheduler v0.0.0 => k8s.io/kube-scheduler v0.26.4
k8s.io/kubectl v0.0.0 => k8s.io/kubectl v0.26.4
k8s.io/kubelet v0.0.0 => k8s.io/kubelet v0.26.4
k8s.io/legacy-cloud-providers v0.0.0 => k8s.io/legacy-cloud-providers v0.26.4
k8s.io/metrics v0.0.0 => k8s.io/metrics v0.26.4
k8s.io/mount-utils v0.0.0 => k8s.io/mount-utils v0.26.4
k8s.io/pod-security-admission v0.0.0 => k8s.io/pod-security-admission v0.26.4
k8s.io/sample-apiserver v0.0.0 => k8s.io/sample-apiserver v0.26.4
)

replace (
github.com/open-cluster-management-io/api => open-cluster-management.io/api v0.10.0
Expand Down