Skip to content

Commit

Permalink
Merge pull request #2321 from chrischdi/pr-godoc-failuredomainselecto…
Browse files Browse the repository at this point in the history
…r-improve

🌱 Improve godoc for VSphereCluster.spec.failureDomainSelector
  • Loading branch information
k8s-ci-robot authored Sep 5, 2023
2 parents fb0ccb5 + efb9dd9 commit 31b8129
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 3 additions & 1 deletion apis/v1beta1/vspherecluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ type VSphereClusterSpec struct {

// FailureDomainSelector is the label selector to use for failure domain selection
// for the control plane nodes of the cluster.
// An empty value for the selector includes all the related failure domains.
// If not set (`nil`), selecting failure domains will be disabled.
// An empty value (`{}`) selects all existing failure domains.
// A valid selector will select all failure domains which match the selector.
// +optional
FailureDomainSelector *metav1.LabelSelector `json:"failureDomainSelector,omitempty"`
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,9 @@ spec:
failureDomainSelector:
description: FailureDomainSelector is the label selector to use for
failure domain selection for the control plane nodes of the cluster.
An empty value for the selector includes all the related failure
domains.
If not set (`nil`), selecting failure domains will be disabled.
An empty value (`{}`) selects all existing failure domains. A valid
selector will select all failure domains which match the selector.
properties:
matchExpressions:
description: matchExpressions is a list of label selector requirements.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,10 @@ spec:
failureDomainSelector:
description: FailureDomainSelector is the label selector to
use for failure domain selection for the control plane nodes
of the cluster. An empty value for the selector includes
all the related failure domains.
of the cluster. If not set (`nil`), selecting failure domains
will be disabled. An empty value (`{}`) selects all existing
failure domains. A valid selector will select all failure
domains which match the selector.
properties:
matchExpressions:
description: matchExpressions is a list of label selector
Expand Down

0 comments on commit 31b8129

Please sign in to comment.