diff --git a/config/crd/bases/anywhere.eks.amazonaws.com_tinkerbellmachineconfigs.yaml b/config/crd/bases/anywhere.eks.amazonaws.com_tinkerbellmachineconfigs.yaml index 0dca96ecb00cd..4ca5c042e648b 100644 --- a/config/crd/bases/anywhere.eks.amazonaws.com_tinkerbellmachineconfigs.yaml +++ b/config/crd/bases/anywhere.eks.amazonaws.com_tinkerbellmachineconfigs.yaml @@ -155,7 +155,6 @@ spec: required: - hardwareSelector - osFamily - - osImageURL type: object status: description: TinkerbellMachineConfigStatus defines the observed state diff --git a/pkg/api/v1alpha1/tinkerbellmachineconfig_types.go b/pkg/api/v1alpha1/tinkerbellmachineconfig_types.go index e81649705938d..f9e89b5b848d7 100644 --- a/pkg/api/v1alpha1/tinkerbellmachineconfig_types.go +++ b/pkg/api/v1alpha1/tinkerbellmachineconfig_types.go @@ -10,10 +10,11 @@ import ( // TinkerbellMachineConfigSpec defines the desired state of TinkerbellMachineConfig. type TinkerbellMachineConfigSpec struct { - HardwareSelector HardwareSelector `json:"hardwareSelector"` - TemplateRef Ref `json:"templateRef,omitempty"` - OSFamily OSFamily `json:"osFamily"` - OSImageURL string `json:"osImageURL"` + HardwareSelector HardwareSelector `json:"hardwareSelector"` + TemplateRef Ref `json:"templateRef,omitempty"` + OSFamily OSFamily `json:"osFamily"` + //+optional + OSImageURL string `json:"osImageURL,omitempty"` Users []UserConfiguration `json:"users,omitempty"` HostOSConfiguration *HostOSConfiguration `json:"hostOSConfiguration,omitempty"` }