Skip to content

Commit

Permalink
update description
Browse files Browse the repository at this point in the history
  • Loading branch information
Song Gao committed Mar 25, 2020
1 parent 9779b17 commit 36dbf08
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions docs/api-references/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -7905,8 +7905,8 @@ <h3 id="pingcap.com/v1alpha1.TiDBSpec">TiDBSpec
</td>
<td>
<em>(Optional)</em>
<p>MaxFailoverCount limit the max replicas could be added in failover, 0 means unlimited
Optional: Defaults to 0</p>
<p>MaxFailoverCount limit the max replicas could be added in failover, 0 means no failover
Optional: Defaults to 3</p>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -11218,8 +11218,8 @@ <h3 id="pingcap.com/v1alpha1.TiKVSpec">TiKVSpec
</td>
<td>
<em>(Optional)</em>
<p>MaxFailoverCount limit the max replicas could be added in failover, 0 means unlimited
Optional: Defaults to 0</p>
<p>MaxFailoverCount limit the max replicas could be added in failover, 0 means no failover
Optional: Defaults to 3</p>
</td>
</tr>
<tr>
Expand Down
4 changes: 2 additions & 2 deletions manifests/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3903,7 +3903,7 @@ spec:
type: object
maxFailoverCount:
description: 'MaxFailoverCount limit the max replicas could be added
in failover, 0 means unlimited Optional: Defaults to 0'
in failover, 0 means no failover Optional: Defaults to 3'
format: int32
type: integer
nodeSelector:
Expand Down Expand Up @@ -5954,7 +5954,7 @@ spec:
type: object
maxFailoverCount:
description: 'MaxFailoverCount limit the max replicas could be added
in failover, 0 means unlimited Optional: Defaults to 0'
in failover, 0 means no failover Optional: Defaults to 3'
format: int32
type: integer
nodeSelector:
Expand Down
4 changes: 2 additions & 2 deletions pkg/apis/pingcap/v1alpha1/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions pkg/apis/pingcap/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ type TiKVSpec struct {
// +optional
Privileged *bool `json:"privileged,omitempty"`

// MaxFailoverCount limit the max replicas could be added in failover, 0 means unlimited
// Optional: Defaults to 0
// MaxFailoverCount limit the max replicas could be added in failover, 0 means no failover
// Optional: Defaults to 3
// +kubebuilder:validation:Minimum=0
// +optional
MaxFailoverCount *int32 `json:"maxFailoverCount,omitempty"`
Expand Down Expand Up @@ -304,8 +304,8 @@ type TiDBSpec struct {
// +optional
EnableAdvertiseAddress *bool `json:"enableAdvertiseAddress,omitempty"`

// MaxFailoverCount limit the max replicas could be added in failover, 0 means unlimited
// Optional: Defaults to 0
// MaxFailoverCount limit the max replicas could be added in failover, 0 means no failover
// Optional: Defaults to 3
// +kubebuilder:validation:Minimum=0
// +optional
MaxFailoverCount *int32 `json:"maxFailoverCount,omitempty"`
Expand Down

0 comments on commit 36dbf08

Please sign in to comment.