diff --git a/pkg/storage/etcd3/compact.go b/pkg/storage/etcd3/compact.go index d4524f492..bbae59153 100644 --- a/pkg/storage/etcd3/compact.go +++ b/pkg/storage/etcd3/compact.go @@ -22,7 +22,7 @@ import ( "sync" "time" - "github.com/coreos/etcd/clientv3" + "go.etcd.io/etcd/clientv3" "k8s.io/klog" ) diff --git a/pkg/storage/etcd3/compact_test.go b/pkg/storage/etcd3/compact_test.go index 72f21437d..134ce8878 100644 --- a/pkg/storage/etcd3/compact_test.go +++ b/pkg/storage/etcd3/compact_test.go @@ -20,9 +20,9 @@ import ( "context" "testing" - "github.com/coreos/etcd/clientv3" - etcdrpc "github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes" - "github.com/coreos/etcd/integration" + "go.etcd.io/etcd/clientv3" + etcdrpc "go.etcd.io/etcd/etcdserver/api/v3rpc/rpctypes" + "go.etcd.io/etcd/integration" ) func TestCompact(t *testing.T) { diff --git a/pkg/storage/etcd3/errors.go b/pkg/storage/etcd3/errors.go index 136570a6f..b33751480 100644 --- a/pkg/storage/etcd3/errors.go +++ b/pkg/storage/etcd3/errors.go @@ -19,7 +19,7 @@ package etcd3 import ( "k8s.io/apimachinery/pkg/api/errors" - etcdrpc "github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes" + etcdrpc "go.etcd.io/etcd/etcdserver/api/v3rpc/rpctypes" utilruntime "k8s.io/apimachinery/pkg/util/runtime" ) diff --git a/pkg/storage/etcd3/event.go b/pkg/storage/etcd3/event.go index dbaf785b2..c4e1f8032 100644 --- a/pkg/storage/etcd3/event.go +++ b/pkg/storage/etcd3/event.go @@ -18,8 +18,8 @@ package etcd3 import ( "fmt" - "github.com/coreos/etcd/clientv3" - "github.com/coreos/etcd/mvcc/mvccpb" + "go.etcd.io/etcd/clientv3" + "go.etcd.io/etcd/mvcc/mvccpb" ) type event struct { diff --git a/pkg/storage/etcd3/event_test.go b/pkg/storage/etcd3/event_test.go index 0bbcac329..18b41242c 100644 --- a/pkg/storage/etcd3/event_test.go +++ b/pkg/storage/etcd3/event_test.go @@ -17,8 +17,8 @@ limitations under the License. package etcd3 import ( - "github.com/coreos/etcd/clientv3" - "github.com/coreos/etcd/mvcc/mvccpb" + "go.etcd.io/etcd/clientv3" + "go.etcd.io/etcd/mvcc/mvccpb" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" diff --git a/pkg/storage/etcd3/lease_manager.go b/pkg/storage/etcd3/lease_manager.go index e7e554c62..6b5a5700a 100644 --- a/pkg/storage/etcd3/lease_manager.go +++ b/pkg/storage/etcd3/lease_manager.go @@ -21,7 +21,7 @@ import ( "sync" "time" - "github.com/coreos/etcd/clientv3" + "go.etcd.io/etcd/clientv3" ) // leaseManager is used to manage leases requested from etcd. If a new write diff --git a/pkg/storage/etcd3/logger.go b/pkg/storage/etcd3/logger.go index a117db6fe..f2cf0e1b2 100644 --- a/pkg/storage/etcd3/logger.go +++ b/pkg/storage/etcd3/logger.go @@ -19,7 +19,7 @@ package etcd3 import ( "fmt" - "github.com/coreos/etcd/clientv3" + "go.etcd.io/etcd/clientv3" "k8s.io/klog" ) diff --git a/pkg/storage/etcd3/store.go b/pkg/storage/etcd3/store.go index 7a99c2a5c..a90675784 100644 --- a/pkg/storage/etcd3/store.go +++ b/pkg/storage/etcd3/store.go @@ -28,7 +28,7 @@ import ( "strings" "time" - "github.com/coreos/etcd/clientv3" + "go.etcd.io/etcd/clientv3" apierrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/meta" diff --git a/pkg/storage/etcd3/store_test.go b/pkg/storage/etcd3/store_test.go index d6e5cfe0d..4c17dc258 100644 --- a/pkg/storage/etcd3/store_test.go +++ b/pkg/storage/etcd3/store_test.go @@ -29,8 +29,8 @@ import ( "sync" "testing" - "github.com/coreos/etcd/clientv3" - "github.com/coreos/etcd/integration" + "go.etcd.io/etcd/clientv3" + "go.etcd.io/etcd/integration" "github.com/coreos/pkg/capnslog" apitesting "k8s.io/apimachinery/pkg/api/apitesting" apierrors "k8s.io/apimachinery/pkg/api/errors" diff --git a/pkg/storage/etcd3/testing/test_server.go b/pkg/storage/etcd3/testing/test_server.go index 7ac487f3d..7464ff02d 100644 --- a/pkg/storage/etcd3/testing/test_server.go +++ b/pkg/storage/etcd3/testing/test_server.go @@ -33,15 +33,15 @@ import ( "context" - etcd "github.com/coreos/etcd/client" - "github.com/coreos/etcd/clientv3" - "github.com/coreos/etcd/etcdserver" - "github.com/coreos/etcd/etcdserver/api/etcdhttp" - "github.com/coreos/etcd/etcdserver/api/v2http" - "github.com/coreos/etcd/integration" - "github.com/coreos/etcd/pkg/testutil" - "github.com/coreos/etcd/pkg/transport" - "github.com/coreos/etcd/pkg/types" + etcd "go.etcd.io/etcd/client" + "go.etcd.io/etcd/clientv3" + "go.etcd.io/etcd/etcdserver" + "go.etcd.io/etcd/etcdserver/api/etcdhttp" + "go.etcd.io/etcd/etcdserver/api/v2http" + "go.etcd.io/etcd/integration" + "go.etcd.io/etcd/pkg/testutil" + "go.etcd.io/etcd/pkg/transport" + "go.etcd.io/etcd/pkg/types" "k8s.io/klog" ) diff --git a/pkg/storage/etcd3/watcher.go b/pkg/storage/etcd3/watcher.go index f2b16f3bd..a66c9eb9e 100644 --- a/pkg/storage/etcd3/watcher.go +++ b/pkg/storage/etcd3/watcher.go @@ -31,7 +31,7 @@ import ( "k8s.io/apiserver/pkg/storage" "k8s.io/apiserver/pkg/storage/value" - "github.com/coreos/etcd/clientv3" + "go.etcd.io/etcd/clientv3" "k8s.io/klog" ) diff --git a/pkg/storage/etcd3/watcher_test.go b/pkg/storage/etcd3/watcher_test.go index 243eebc9b..1f2dca8eb 100644 --- a/pkg/storage/etcd3/watcher_test.go +++ b/pkg/storage/etcd3/watcher_test.go @@ -24,8 +24,8 @@ import ( "testing" "time" - "github.com/coreos/etcd/clientv3" - "github.com/coreos/etcd/integration" + "go.etcd.io/etcd/clientv3" + "go.etcd.io/etcd/integration" apitesting "k8s.io/apimachinery/pkg/api/apitesting" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/storage/storagebackend/factory/etcd3.go b/pkg/storage/storagebackend/factory/etcd3.go index 1bf69861e..b4a380069 100644 --- a/pkg/storage/storagebackend/factory/etcd3.go +++ b/pkg/storage/storagebackend/factory/etcd3.go @@ -26,8 +26,8 @@ import ( "sync/atomic" "time" - "github.com/coreos/etcd/clientv3" - "github.com/coreos/etcd/pkg/transport" + "go.etcd.io/etcd/clientv3" + "go.etcd.io/etcd/pkg/transport" grpcprom "github.com/grpc-ecosystem/go-grpc-prometheus" "google.golang.org/grpc" diff --git a/pkg/storage/storagebackend/factory/tls_test.go b/pkg/storage/storagebackend/factory/tls_test.go index 32b7b5cab..40271f07c 100644 --- a/pkg/storage/storagebackend/factory/tls_test.go +++ b/pkg/storage/storagebackend/factory/tls_test.go @@ -24,8 +24,8 @@ import ( "path/filepath" "testing" - "github.com/coreos/etcd/integration" - "github.com/coreos/etcd/pkg/transport" + "go.etcd.io/etcd/integration" + "go.etcd.io/etcd/pkg/transport" apitesting "k8s.io/apimachinery/pkg/api/apitesting" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"