diff --git a/api/v1alpha1/ionoscloudmachine_types.go b/api/v1alpha1/ionoscloudmachine_types.go index dfb5949..3902436 100644 --- a/api/v1alpha1/ionoscloudmachine_types.go +++ b/api/v1alpha1/ionoscloudmachine_types.go @@ -59,10 +59,8 @@ type IONOSCloudMachineSpec struct { // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="IP is immutable" IP *string `json:"ip,omitempty"` // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="ProviderID is immutable" - ProviderID string `json:"providerID,omitempty"` - // +listType=map - // +listMapKey=lanRef.name - Nics []IONOSNicSpec `json:"nics,omitempty"` + ProviderID string `json:"providerID,omitempty"` + Nics []IONOSNicSpec `json:"nics,omitempty"` } // +kubebuilder:validation:XValidation:rule="!has(oldSelf.sshKeys) || has(self.sshKeys)", message="SSHKeys is required once set" 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 49ee716..de034d5 100644 --- a/config/crd/bases/infrastructure.cluster.x-k8s.io_ionoscloudmachines.yaml +++ b/config/crd/bases/infrastructure.cluster.x-k8s.io_ionoscloudmachines.yaml @@ -120,9 +120,6 @@ spec: - lanRef type: object type: array - x-kubernetes-list-map-keys: - - lanRef.name - x-kubernetes-list-type: map providerID: type: string x-kubernetes-validations: 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 4e5e895..6d54199 100644 --- a/config/crd/bases/infrastructure.cluster.x-k8s.io_ionoscloudmachinetemplates.yaml +++ b/config/crd/bases/infrastructure.cluster.x-k8s.io_ionoscloudmachinetemplates.yaml @@ -131,9 +131,6 @@ spec: - lanRef type: object type: array - x-kubernetes-list-map-keys: - - lanRef.name - x-kubernetes-list-type: map providerID: type: string x-kubernetes-validations: