-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Align pxebootconfig controller with gardenlinux OCI spec
- Loading branch information
Showing
10 changed files
with
391 additions
and
73 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
--- | ||
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: {} |
119 changes: 119 additions & 0 deletions
119
config/crd/bases/metal.ironcore.dev_ipxebootconfigs.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
--- | ||
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: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.