diff --git a/api/v1beta1/virtinkcluster_types.go b/api/v1beta1/virtinkcluster_types.go index b9defbc..ddbf2f7 100644 --- a/api/v1beta1/virtinkcluster_types.go +++ b/api/v1beta1/virtinkcluster_types.go @@ -20,7 +20,7 @@ type VirtinkClusterSpec struct { // ControlPlaneServiceType can be used to modify type of service that fronts the control plane nodes to handle the // api-server traffic (port 6443). This field is optional, by default control plane nodes will use a service // of type ClusterIP, which will make workload cluster only accessible within the same cluster. - ControlPlaneServiceType *corev1.ServiceType `json:"conrolPlaneServiceType,omitempty"` + ControlPlaneServiceType *corev1.ServiceType `json:"controlPlaneServiceType,omitempty"` // InfraClusterSecretRef is a reference to a secret with a kubeconfig for external cluster used for infra. InfraClusterSecretRef *corev1.ObjectReference `json:"infraClusterSecretRef,omitempty"` diff --git a/config/crd/bases/infrastructure.cluster.x-k8s.io_virtinkclusters.yaml b/config/crd/bases/infrastructure.cluster.x-k8s.io_virtinkclusters.yaml index bc4c815..6396cd2 100644 --- a/config/crd/bases/infrastructure.cluster.x-k8s.io_virtinkclusters.yaml +++ b/config/crd/bases/infrastructure.cluster.x-k8s.io_virtinkclusters.yaml @@ -45,13 +45,6 @@ spec: spec: description: VirtinkClusterSpec defines the desired state of VirtinkCluster properties: - conrolPlaneServiceType: - description: ControlPlaneServiceType can be used to modify type of - service that fronts the control plane nodes to handle the api-server - traffic (port 6443). This field is optional, by default control - plane nodes will use a service of type ClusterIP, which will make - workload cluster only accessible within the same cluster. - type: string controlPlaneEndpoint: description: ControlPlaneEndpoint represents the endpoint used to communicate with the control plane. @@ -67,6 +60,13 @@ spec: - host - port type: object + controlPlaneServiceType: + description: ControlPlaneServiceType can be used to modify type of + service that fronts the control plane nodes to handle the api-server + traffic (port 6443). This field is optional, by default control + plane nodes will use a service of type ClusterIP, which will make + workload cluster only accessible within the same cluster. + type: string infraClusterSecretRef: description: InfraClusterSecretRef is a reference to a secret with a kubeconfig for external cluster used for infra.