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