@@ -28,7 +28,7 @@ import (
28
28
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
29
29
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
30
30
"k8s.io/client-go/kubernetes/scheme"
31
- clusterv1 "sigs.k8s.io/cluster-api/api/v1alpha3 "
31
+ clusterv1 "sigs.k8s.io/cluster-api/api/v1alpha4 "
32
32
"sigs.k8s.io/cluster-api/controllers/external"
33
33
capierrors "sigs.k8s.io/cluster-api/errors"
34
34
ctrl "sigs.k8s.io/controller-runtime"
@@ -53,7 +53,7 @@ func TestClusterReconcilePhases(t *testing.T) {
53
53
Port : 8443 ,
54
54
},
55
55
InfrastructureRef : & corev1.ObjectReference {
56
- APIVersion : "infrastructure.cluster.x-k8s.io/v1alpha3 " ,
56
+ APIVersion : "infrastructure.cluster.x-k8s.io/v1alpha4 " ,
57
57
Kind : "InfrastructureMachine" ,
58
58
Name : "test" ,
59
59
},
@@ -83,7 +83,7 @@ func TestClusterReconcilePhases(t *testing.T) {
83
83
cluster : cluster ,
84
84
infraRef : map [string ]interface {}{
85
85
"kind" : "InfrastructureMachine" ,
86
- "apiVersion" : "infrastructure.cluster.x-k8s.io/v1alpha3 " ,
86
+ "apiVersion" : "infrastructure.cluster.x-k8s.io/v1alpha4 " ,
87
87
"metadata" : map [string ]interface {}{
88
88
"name" : "test" ,
89
89
"namespace" : "test-namespace" ,
@@ -97,7 +97,7 @@ func TestClusterReconcilePhases(t *testing.T) {
97
97
cluster : cluster ,
98
98
infraRef : map [string ]interface {}{
99
99
"kind" : "InfrastructureMachine" ,
100
- "apiVersion" : "infrastructure.cluster.x-k8s.io/v1alpha3 " ,
100
+ "apiVersion" : "infrastructure.cluster.x-k8s.io/v1alpha4 " ,
101
101
"metadata" : map [string ]interface {}{
102
102
"name" : "test" ,
103
103
"namespace" : "test-namespace" ,
@@ -111,7 +111,7 @@ func TestClusterReconcilePhases(t *testing.T) {
111
111
cluster : cluster ,
112
112
infraRef : map [string ]interface {}{
113
113
"kind" : "InfrastructureMachine" ,
114
- "apiVersion" : "infrastructure.cluster.x-k8s.io/v1alpha3 " ,
114
+ "apiVersion" : "infrastructure.cluster.x-k8s.io/v1alpha4 " ,
115
115
"metadata" : map [string ]interface {}{
116
116
"name" : "test" ,
117
117
"namespace" : "test-namespace" ,
0 commit comments