Skip to content

Commit

Permalink
Fix sdb ops type (#1335)
Browse files Browse the repository at this point in the history
Signed-off-by: Arnob kumar saha <arnob@appscode.com>
  • Loading branch information
ArnobKumarSaha authored Oct 30, 2024
1 parent 1b0de80 commit c57cfca
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion apis/kubedb/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -1645,7 +1645,7 @@ var (
// DefaultResourcesMemoryIntensiveSDB must be used for Singlestore when enabled monitoring or version >= 8.5.x
DefaultResourcesMemoryIntensiveSDB = core.ResourceRequirements{
Requests: core.ResourceList{
core.ResourceCPU: resource.MustParse(".500"),
core.ResourceCPU: resource.MustParse(".600"),
core.ResourceMemory: resource.MustParse("2Gi"),
},
Limits: core.ResourceList{
Expand Down
4 changes: 2 additions & 2 deletions apis/ops/v1alpha1/singlestore_ops_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ type SinglestoreOpsRequestSpec struct {
Apply ApplyOption `json:"apply,omitempty"`
}

// +kubebuilder:validation:Enum=UpdateVersion;HorizontalScaling;VerticalScaling;VolumeExpansion;Restart;Configuration;ReconfigureTLS;RotateAuth
// ENUM(UpdateVersion, HorizontalScaling, VerticalScaling, VolumeExpansion, Restart, Configuration, ReconfigureTLS, RotateAuth)
// +kubebuilder:validation:Enum=UpdateVersion;HorizontalScaling;VerticalScaling;VolumeExpansion;Restart;Reconfigure;ReconfigureTLS;RotateAuth
// ENUM(UpdateVersion, HorizontalScaling, VerticalScaling, VolumeExpansion, Restart, Reconfigure, ReconfigureTLS, RotateAuth)
type SinglestoreOpsRequestType string

// SinglestoreUpdateVersionSpec contains the update version information of a kafka cluster
Expand Down
10 changes: 5 additions & 5 deletions apis/ops/v1alpha1/singlestore_ops_types_enum.go

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

2 changes: 1 addition & 1 deletion crds/ops.kubedb.com_singlestoreopsrequests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ spec:
- VerticalScaling
- VolumeExpansion
- Restart
- Configuration
- Reconfigure
- ReconfigureTLS
- RotateAuth
type: string
Expand Down

0 comments on commit c57cfca

Please sign in to comment.