diff --git a/api/v1alpha1/doc.go b/api/v1alpha1/doc.go index 91165b24..6e874ed7 100644 --- a/api/v1alpha1/doc.go +++ b/api/v1alpha1/doc.go @@ -2,6 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 // Package v1alpha1 contains API Schema definitions for the settings.gardener.cloud API group -// +groupName=metal.ironcore.dev +// +groupName=boot.ironcore.dev // +kubebuilder:object:generate=true package v1alpha1 diff --git a/api/v1alpha1/zz_generated.deepcopy.go b/api/v1alpha1/zz_generated.deepcopy.go index a2048697..edf75dba 100644 --- a/api/v1alpha1/zz_generated.deepcopy.go +++ b/api/v1alpha1/zz_generated.deepcopy.go @@ -8,7 +8,7 @@ package v1alpha1 import ( - v1 "k8s.io/api/core/v1" + "k8s.io/api/core/v1" runtime "k8s.io/apimachinery/pkg/runtime" ) diff --git a/config/crd/bases/boot.ironcore.dev_httpbootconfigs.yaml b/config/crd/bases/boot.ironcore.dev_httpbootconfigs.yaml index aa4dd63d..449c0695 100644 --- a/config/crd/bases/boot.ironcore.dev_httpbootconfigs.yaml +++ b/config/crd/bases/boot.ironcore.dev_httpbootconfigs.yaml @@ -47,9 +47,8 @@ spec: description: HTTPBootConfigSpec defines the desired state of HTTPBootConfig properties: ignitionSecretRef: - description: |- - LocalObjectReference contains enough information to let you locate the - referenced object inside the same namespace. + description: IgnitionSecretRef is a reference to the secret containing + Ignition configuration. properties: name: default: "" @@ -63,12 +62,16 @@ spec: type: object x-kubernetes-map-type: atomic systemIPs: + description: SystemIPs is a list of IP addresses assigned to the server. items: type: string type: array systemUUID: + description: SystemUUID is the unique identifier (UUID) of the server. type: string ukiURL: + description: UKIURL is the URL where the UKI (Unified Kernel Image) + is hosted. type: string type: object status: diff --git a/config/crd/bases/boot.ironcore.dev_ipxebootconfigs.yaml b/config/crd/bases/boot.ironcore.dev_ipxebootconfigs.yaml index 8b39f098..e836a2e6 100644 --- a/config/crd/bases/boot.ironcore.dev_ipxebootconfigs.yaml +++ b/config/crd/bases/boot.ironcore.dev_ipxebootconfigs.yaml @@ -47,9 +47,8 @@ spec: description: IPXEBootConfigSpec defines the desired state of IPXEBootConfig properties: ignitionSecretRef: - description: |- - LocalObjectReference contains enough information to let you locate the - referenced object inside the same namespace. + description: IgnitionSecretRef is a reference to the secret containing + the Ignition configuration. properties: name: default: "" @@ -63,13 +62,16 @@ spec: type: object x-kubernetes-map-type: atomic image: + description: Image is deprecated and will be removed. type: string initrdURL: + description: InitrdURL is the URL where the Initrd (initial RAM disk) + of the OS is hosted, eg. the URL to the Initrd layer of the OS OCI + image. type: string ipxeScriptSecretRef: - description: |- - LocalObjectReference contains enough information to let you locate the - referenced object inside the same namespace. + description: IPXEScriptSecretRef is a reference to the secret containing + the custom IPXE script. properties: name: default: "" @@ -83,18 +85,23 @@ spec: type: object x-kubernetes-map-type: atomic ipxeServerURL: + description: IPXEServerURL is deprecated and will be removed. type: string kernelURL: + description: KernelURL is the URL where the kernel of the OS is hosted, + eg. the URL to the Kernel layer of the OS OCI image. type: string squashfsURL: + description: SquashfsURL is the URL where the Squashfs of the OS is + hosted, eg. the URL to the Squashfs layer of the OS OCI image. type: string systemIPs: + description: SystemIPs is a list of IP addresses assigned to the server. items: type: string type: array systemUUID: - description: 'Important: Run "make" to regenerate code after modifying - this file' + description: SystemUUID is the unique identifier (UUID) of the server. type: string type: object status: diff --git a/config/crd/bases/metal.ironcore.dev_httpbootconfigs.yaml b/config/crd/bases/metal.ironcore.dev_httpbootconfigs.yaml deleted file mode 100644 index 775f1d03..00000000 --- a/config/crd/bases/metal.ironcore.dev_httpbootconfigs.yaml +++ /dev/null @@ -1,87 +0,0 @@ ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.16.0 - name: httpbootconfigs.metal.ironcore.dev -spec: - group: metal.ironcore.dev - names: - kind: HTTPBootConfig - listKind: HTTPBootConfigList - plural: httpbootconfigs - singular: httpbootconfig - scope: Namespaced - versions: - - additionalPrinterColumns: - - jsonPath: .status.state - name: State - type: string - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - name: v1alpha1 - schema: - openAPIV3Schema: - description: HTTPBootConfig is the Schema for the httpbootconfigs API - properties: - apiVersion: - description: |- - APIVersion defines the versioned schema of this representation of an object. - Servers should convert recognized schemas to the latest internal value, and - may reject unrecognized values. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - type: string - kind: - description: |- - Kind is a string value representing the REST resource this object represents. - Servers may infer this from the endpoint the client submits requests to. - Cannot be updated. - In CamelCase. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - type: string - metadata: - type: object - spec: - description: HTTPBootConfigSpec defines the desired state of HTTPBootConfig - properties: - ignitionSecretRef: - description: IgnitionSecretRef is a reference to the secret containing - Ignition configuration. - properties: - name: - default: "" - description: |- - Name of the referent. - This field is effectively required, but due to backwards compatibility is - allowed to be empty. Instances of this type with an empty value here are - almost certainly wrong. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - type: string - type: object - x-kubernetes-map-type: atomic - systemIPs: - description: SystemIPs is a list of IP addresses assigned to the server. - items: - type: string - type: array - systemUUID: - description: SystemUUID is the unique identifier (UUID) of the server. - type: string - ukiURL: - description: UKIURL is the URL where the UKI (Unified Kernel Image) - is hosted. - type: string - type: object - status: - description: HTTPBootConfigStatus defines the observed state of HTTPBootConfig - properties: - state: - type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} diff --git a/config/crd/bases/metal.ironcore.dev_ipxebootconfigs.yaml b/config/crd/bases/metal.ironcore.dev_ipxebootconfigs.yaml deleted file mode 100644 index ce300844..00000000 --- a/config/crd/bases/metal.ironcore.dev_ipxebootconfigs.yaml +++ /dev/null @@ -1,119 +0,0 @@ ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.16.0 - name: ipxebootconfigs.metal.ironcore.dev -spec: - group: metal.ironcore.dev - names: - kind: IPXEBootConfig - listKind: IPXEBootConfigList - plural: ipxebootconfigs - singular: ipxebootconfig - scope: Namespaced - versions: - - additionalPrinterColumns: - - jsonPath: .status.state - name: State - type: string - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - name: v1alpha1 - schema: - openAPIV3Schema: - description: IPXEBootConfig is the Schema for the ipxebootconfigs API - properties: - apiVersion: - description: |- - APIVersion defines the versioned schema of this representation of an object. - Servers should convert recognized schemas to the latest internal value, and - may reject unrecognized values. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - type: string - kind: - description: |- - Kind is a string value representing the REST resource this object represents. - Servers may infer this from the endpoint the client submits requests to. - Cannot be updated. - In CamelCase. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - type: string - metadata: - type: object - spec: - description: IPXEBootConfigSpec defines the desired state of IPXEBootConfig - properties: - ignitionSecretRef: - description: IgnitionSecretRef is a reference to the secret containing - the Ignition configuration. - properties: - name: - default: "" - description: |- - Name of the referent. - This field is effectively required, but due to backwards compatibility is - allowed to be empty. Instances of this type with an empty value here are - almost certainly wrong. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - type: string - type: object - x-kubernetes-map-type: atomic - image: - description: Image is deprecated and will be removed. - type: string - initrdURL: - description: InitrdURL is the URL where the Initrd (initial RAM disk) - of the OS is hosted, eg. the URL to the Initrd layer of the OS OCI - image. - type: string - ipxeScriptSecretRef: - description: IPXEScriptSecretRef is a reference to the secret containing - the custom IPXE script. - properties: - name: - default: "" - description: |- - Name of the referent. - This field is effectively required, but due to backwards compatibility is - allowed to be empty. Instances of this type with an empty value here are - almost certainly wrong. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - type: string - type: object - x-kubernetes-map-type: atomic - ipxeServerURL: - description: IPXEServerURL is deprecated and will be removed. - type: string - kernelURL: - description: KernelURL is the URL where the kernel of the OS is hosted, - eg. the URL to the Kernel layer of the OS OCI image. - type: string - squashfsURL: - description: SquashfsURL is the URL where the Squashfs of the OS is - hosted, eg. the URL to the Squashfs layer of the OS OCI image. - type: string - systemIPs: - description: SystemIPs is a list of IP addresses assigned to the server. - items: - type: string - type: array - systemUUID: - description: SystemUUID is the unique identifier (UUID) of the server. - type: string - type: object - status: - description: IPXEBootConfigStatus defines the observed state of IPXEBootConfig - properties: - state: - description: 'Important: Run "make" to regenerate code after modifying - this file' - type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} diff --git a/docs/api-reference/api.md b/docs/api-reference/api.md index 28bbf93e..1e57dfee 100644 --- a/docs/api-reference/api.md +++ b/docs/api-reference/api.md @@ -1,20 +1,20 @@
Packages:
-Package v1alpha1 contains API Schema definitions for the settings.gardener.cloud API group
HTTPBootConfig is the Schema for the httpbootconfigs API
@@ -33,7 +33,7 @@ Resource Types: string
-metal.ironcore.dev/v1alpha1
+boot.ironcore.dev/v1alpha1
specstatusIPXEBootConfig is the Schema for the ipxebootconfigs API
@@ -153,7 +153,7 @@ HTTPBootConfigStatus string
-metal.ironcore.dev/v1alpha1
+boot.ironcore.dev/v1alpha1
specstatus-(Appears on:HTTPBootConfig) +(Appears on:HTTPBootConfig)
HTTPBootConfigSpec defines the desired state of HTTPBootConfig
@@ -375,10 +375,10 @@ string -string alias)-(Appears on:HTTPBootConfigStatus) +(Appears on:HTTPBootConfigStatus)
-(Appears on:HTTPBootConfig) +(Appears on:HTTPBootConfig)
HTTPBootConfigStatus defines the observed state of HTTPBootConfig
@@ -420,7 +420,7 @@ stringstate-(Appears on:IPXEBootConfig) +(Appears on:IPXEBootConfig)
IPXEBootConfigSpec defines the desired state of IPXEBootConfig
@@ -551,10 +551,10 @@ Kubernetes core/v1.LocalObjectReference -string alias)-(Appears on:IPXEBootConfigStatus) +(Appears on:IPXEBootConfigStatus)
-(Appears on:IPXEBootConfig) +(Appears on:IPXEBootConfig)
IPXEBootConfigStatus defines the observed state of IPXEBootConfig
@@ -596,7 +596,7 @@ Kubernetes core/v1.LocalObjectReferencestate