Skip to content

Commit

Permalink
Merge pull request #58 from xjh1996/fix-tide-typo
Browse files Browse the repository at this point in the history
fix(tide): fix fields typo
  • Loading branch information
waynepeking348 authored Jan 8, 2024
2 parents 4ab17e3 + 0260033 commit 612395f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ spec:
- key
- value
type: object
reverse:
reserve:
properties:
offline:
anyOf:
Expand Down Expand Up @@ -129,7 +129,7 @@ spec:
status:
description: TideNodePoolStatus defines the observed state of TideNodePool
properties:
reverseNodes:
reserveNodes:
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
of cluster Important: Run "make" to regenerate code after modifying
this file'
Expand Down
6 changes: 3 additions & 3 deletions pkg/apis/tide/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ type NodeConfigs struct {
// +optional
TideLabel *LabelOption `json:"tideLabel,omitempty"`
// +optional
Reverse ReverseOptions `json:"reverse,omitempty"`
Reserve ReserveOptions `json:"reserve,omitempty"`
}

type PodSelector struct {
MatchLabels map[string]string `json:"matchLabels,omitempty"`
}

type ReverseOptions struct {
type ReserveOptions struct {
// +optional
Online *intstr.IntOrString `json:"online,omitempty"`
// +optional
Expand All @@ -87,7 +87,7 @@ type TideNodePoolStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
// +optional
ReserveNodes ReserveNodes `json:"reverseNodes,omitempty"`
ReserveNodes ReserveNodes `json:"reserveNodes,omitempty"`
// +optional
TideNodes TideNodes `json:"tideNodes,omitempty"`
}
Expand Down
10 changes: 5 additions & 5 deletions pkg/apis/tide/v1alpha1/zz_generated.deepcopy.go

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

0 comments on commit 612395f

Please sign in to comment.