File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
controllers/storagecluster Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import (
1515 ocsversion "github.com/red-hat-storage/ocs-operator/v4/version"
1616
1717 "github.com/blang/semver/v4"
18+ csiaddonsv1alpha1 "github.com/csi-addons/kubernetes-csi-addons/api/csiaddons/v1alpha1"
1819 groupsnapapi "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1"
1920 snapapi "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1"
2021 nbv1 "github.com/noobaa/noobaa-operator/v5/pkg/apis/noobaa/v1alpha1"
@@ -1294,6 +1295,11 @@ func createFakeScheme(t *testing.T) *runtime.Scheme {
12941295 assert .Fail (t , "unable to add rbacv1 to scheme" )
12951296 }
12961297
1298+ err = csiaddonsv1alpha1 .AddToScheme (scheme )
1299+ if err != nil {
1300+ assert .Fail (t , "unable to add rbacv1 to scheme" )
1301+ }
1302+
12971303 return scheme
12981304}
12991305
You can’t perform that action at this time.
0 commit comments