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

remove valid of cores #37

Merged
merged 1 commit into from
Nov 14, 2023
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
1 change: 0 additions & 1 deletion api/v1alpha1/ionoscloudmachine_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ type IONOSCloudMachineSpec struct {
AvailabilityZone *string `json:"availabilityZone,omitempty"`
// The total number of cores for the enterprise server.
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Cores is immutable"
Cores *int32 `json:"cores"`
// CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions; available CPU architectures can be retrieved from the datacenter resource; must not be provided for CUBE servers.
// +kubebuilder:validation:MinLength=1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ spec:
format: int32
minimum: 1
type: integer
x-kubernetes-validations:
- message: Cores is immutable
rule: self == oldSelf
cpuFamily:
description: CPU architecture on which server gets provisioned; not
all CPU architectures are available in all datacenter regions; available
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ spec:
format: int32
minimum: 1
type: integer
x-kubernetes-validations:
- message: Cores is immutable
rule: self == oldSelf
cpuFamily:
description: CPU architecture on which server gets provisioned;
not all CPU architectures are available in all datacenter
Expand Down
Loading