Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sdb ops type #1335

Merged
merged 1 commit into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading