@@ -19,7 +19,7 @@ package v1beta1
1919import (
2020 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2121
22- capiv1beta1 "sigs.k8s.io/cluster-api/api/v1beta1 "
22+ clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta2 "
2323)
2424
2525// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.
@@ -49,7 +49,7 @@ type IBMVPCClusterSpec struct {
4949
5050 // ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
5151 // +optional
52- ControlPlaneEndpoint capiv1beta1 .APIEndpoint `json:"controlPlaneEndpoint"`
52+ ControlPlaneEndpoint clusterv1 .APIEndpoint `json:"controlPlaneEndpoint"`
5353
5454 // ControlPlaneLoadBalancer is optional configuration for customizing control plane behavior.
5555 // +optional
@@ -83,7 +83,7 @@ type IBMVPCClusterStatus struct {
8383
8484 // Conditions defines current service state of the load balancer.
8585 // +optional
86- Conditions capiv1beta1 .Conditions `json:"conditions,omitempty"`
86+ Conditions clusterv1 .Conditions `json:"conditions,omitempty"`
8787}
8888
8989// VPC holds the VPC information.
@@ -121,11 +121,11 @@ func init() {
121121}
122122
123123// GetConditions returns the observations of the operational state of the IBMVPCCluster resource.
124- func (r * IBMVPCCluster ) GetConditions () capiv1beta1 .Conditions {
124+ func (r * IBMVPCCluster ) GetConditions () clusterv1 .Conditions {
125125 return r .Status .Conditions
126126}
127127
128128// SetConditions sets the underlying service state of the IBMVPCCluster to the predescribed clusterv1.Conditions.
129- func (r * IBMVPCCluster ) SetConditions (conditions capiv1beta1 .Conditions ) {
129+ func (r * IBMVPCCluster ) SetConditions (conditions clusterv1 .Conditions ) {
130130 r .Status .Conditions = conditions
131131}
0 commit comments