core: api updates for controller runtime v0.15

For the controller runtime v0.15 there are some breaking
changes to the api that need to be updated.

Signed-off-by: travisn <tnielsen@redhat.com>
This commit is contained in:
travisn committed 2023-06-22 10:33:28 -06:00
1 parent ee80061c74
commit 557a3e06cc
52 files changed
+363 -300

No files matched your search

@@ -139,6 +139,7 @@ func TestIsReadyToReconcile(t *testing.T) {
Name: clusterName.Name,
Namespace: clusterName.Namespace,
DeletionTimestamp: &metav1.Time{Time: time.Now()},
Finalizers: []string{"test"},
},
}
@@ -176,6 +177,7 @@ func TestIsReadyToReconcile(t *testing.T) {
Name: clusterName.Name,
Namespace: clusterName.Namespace,
DeletionTimestamp: &metav1.Time{Time: time.Now()},
Finalizers: []string{"test"},
},
Spec: cephv1.ClusterSpec{
CleanupPolicy: cephv1.CleanupPolicySpec{