Skip to content

Commit

Permalink
Merge pull request #37 from GDATASoftwareAG/remove-valid-of-cores
Browse files Browse the repository at this point in the history
remove valid of cores
  • Loading branch information
farodin91 authored Nov 14, 2023
2 parents 8151dd1 + cd9f813 commit 0f5b298
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
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

0 comments on commit 0f5b298

Please sign in to comment.