Skip to content

Commit

Permalink
fix: Fix typo in VirtinkCluster.Spec.ControlPlaneServiceType
Browse files Browse the repository at this point in the history
  • Loading branch information
carezkh committed Jul 27, 2022
1 parent 25fb0ed commit 88d9c40
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion api/v1beta1/virtinkcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit 88d9c40

Please sign in to comment.