-
Sub-task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
None
-
False
-
-
False
-
ToDo
-
-
-
0
-
0
-
Very Likely
-
0
-
None
-
Unset
-
Unknown
OADP operator `make test` on https://issues.redhat.com/browse/OADP-694 is blocked by this error
# github.com/vmware-tanzu/velero/pkg/builder ../go/pkg/mod/github.com/openshift/velero@v0.10.2-0.20221024145358-a1498b55cc81/pkg/builder/object_meta.go:124:7: obj.SetClusterName undefined (type "k8s.io/apimachinery/pkg/apis/meta/v1".Object has no field or method SetClusterName) make: *** [vet] Error 2
Attempts to use apimachinery version 0.22 which velero uses in oadp go.mod do not stick due to volume-snapshot-mover and volsync using 0.25.
go get k8s.io/apimachinery@v0.22.2 go: downgraded github.com/backube/volsync v0.5.0 => v0.4.0 go: removed github.com/konveyor/volume-snapshot-mover v0.0.0-20221102191057-2e43d7a7bb73
Velero is currently updated to use v0.24
The workaround for this for e2e could also be to use unstructured or replace.