diff --git a/api/v1alpha1/ionoscloudmachine_types.go b/api/v1alpha1/ionoscloudmachine_types.go index 892ab6a..a8d2631 100644 --- a/api/v1alpha1/ionoscloudmachine_types.go +++ b/api/v1alpha1/ionoscloudmachine_types.go @@ -50,7 +50,6 @@ type IONOSCloudMachineSpec struct { // The memory size for the enterprise server in MB, such as 2048. // +kubebuilder:validation:Minimum=256 // +kubebuilder:validation:MultipleOf=256 - // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Ram is immutable" Ram *int32 `json:"ram"` BootVolume IONOSVolumeSpec `json:"bootVolume"` diff --git a/config/crd/bases/infrastructure.cluster.x-k8s.io_ionoscloudmachines.yaml b/config/crd/bases/infrastructure.cluster.x-k8s.io_ionoscloudmachines.yaml index 7894909..0a780a5 100644 --- a/config/crd/bases/infrastructure.cluster.x-k8s.io_ionoscloudmachines.yaml +++ b/config/crd/bases/infrastructure.cluster.x-k8s.io_ionoscloudmachines.yaml @@ -134,9 +134,6 @@ spec: minimum: 256 multipleOf: 256 type: integer - x-kubernetes-validations: - - message: Ram is immutable - rule: self == oldSelf required: - bootVolume - cores diff --git a/config/crd/bases/infrastructure.cluster.x-k8s.io_ionoscloudmachinetemplates.yaml b/config/crd/bases/infrastructure.cluster.x-k8s.io_ionoscloudmachinetemplates.yaml index b125033..75b49ab 100644 --- a/config/crd/bases/infrastructure.cluster.x-k8s.io_ionoscloudmachinetemplates.yaml +++ b/config/crd/bases/infrastructure.cluster.x-k8s.io_ionoscloudmachinetemplates.yaml @@ -135,9 +135,6 @@ spec: minimum: 256 multipleOf: 256 type: integer - x-kubernetes-validations: - - message: Ram is immutable - rule: self == oldSelf required: - bootVolume - cores