Skip to content

Commit b35db9d

Browse files
committed
Remove old CRD-based informer
1 parent 298f850 commit b35db9d

File tree

26 files changed

+0
-2135
lines changed

26 files changed

+0
-2135
lines changed

Gopkg.lock

-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/csi-attacher/main.go

-5
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import (
2828
"k8s.io/client-go/rest"
2929
"k8s.io/client-go/tools/clientcmd"
3030
"k8s.io/client-go/util/workqueue"
31-
csiinformers "k8s.io/csi-api/pkg/client/informers/externalversions"
3231
"k8s.io/klog"
3332

3433
"github.com/container-storage-interface/spec/lib/go/csi"
@@ -100,7 +99,6 @@ func main() {
10099
}
101100

102101
factory := informers.NewSharedInformerFactory(clientset, *resync)
103-
var csiFactory csiinformers.SharedInformerFactory
104102
var handler controller.Handler
105103
// Connect to CSI.
106104
csiConn, err := connection.Connect(*csiAddress)
@@ -167,9 +165,6 @@ func main() {
167165
run := func(ctx context.Context) {
168166
stopCh := ctx.Done()
169167
factory.Start(stopCh)
170-
if csiFactory != nil {
171-
csiFactory.Start(stopCh)
172-
}
173168
ctrl.Run(threads, stopCh)
174169
}
175170

vendor/k8s.io/csi-api/LICENSE

-201
This file was deleted.

vendor/k8s.io/csi-api/pkg/apis/csi/v1alpha1/doc.go

-22
This file was deleted.

vendor/k8s.io/csi-api/pkg/apis/csi/v1alpha1/register.go

-62
This file was deleted.

0 commit comments

Comments
 (0)