Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 0f5b298

Browse files
authored
Merge pull request #37 from GDATASoftwareAG/remove-valid-of-cores
remove valid of cores
2 parents 8151dd1 + cd9f813 commit 0f5b298

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

api/v1alpha1/ionoscloudmachine_types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ type IONOSCloudMachineSpec struct {
4242
AvailabilityZone *string `json:"availabilityZone,omitempty"`
4343
// The total number of cores for the enterprise server.
4444
// +kubebuilder:validation:Minimum=1
45-
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Cores is immutable"
4645
Cores *int32 `json:"cores"`
4746
// 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.
4847
// +kubebuilder:validation:MinLength=1

config/crd/bases/infrastructure.cluster.x-k8s.io_ionoscloudmachines.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ spec:
8383
format: int32
8484
minimum: 1
8585
type: integer
86-
x-kubernetes-validations:
87-
- message: Cores is immutable
88-
rule: self == oldSelf
8986
cpuFamily:
9087
description: CPU architecture on which server gets provisioned; not
9188
all CPU architectures are available in all datacenter regions; available

config/crd/bases/infrastructure.cluster.x-k8s.io_ionoscloudmachinetemplates.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,6 @@ spec:
9494
format: int32
9595
minimum: 1
9696
type: integer
97-
x-kubernetes-validations:
98-
- message: Cores is immutable
99-
rule: self == oldSelf
10097
cpuFamily:
10198
description: CPU architecture on which server gets provisioned;
10299
not all CPU architectures are available in all datacenter

0 commit comments

Comments
 (0)