-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Micah Hausler <[email protected]>
- Loading branch information
1 parent
5923ca9
commit 77314c4
Showing
24 changed files
with
2,507 additions
and
13 deletions.
There are no files selected for viewing
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
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
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,344 @@ | ||
|
||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.7.0 | ||
creationTimestamp: null | ||
name: hardware.tinkerbell.org | ||
spec: | ||
group: tinkerbell.org | ||
names: | ||
categories: | ||
- tinkerbell | ||
kind: Hardware | ||
listKind: HardwareList | ||
plural: hardware | ||
shortNames: | ||
- hw | ||
singular: hardware | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- jsonPath: .status.state | ||
name: State | ||
type: string | ||
name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: Hardware is the Schema for the Hardware 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: HardwareSpec defines the desired state of Hardware. | ||
properties: | ||
disks: | ||
items: | ||
description: Disk represents a disk device for Tinkerbell Hardware. | ||
properties: | ||
device: | ||
type: string | ||
type: object | ||
type: array | ||
interfaces: | ||
items: | ||
description: Interface represents a network interface configuration | ||
for Hardware. | ||
properties: | ||
dhcp: | ||
description: DHCP configuration. | ||
properties: | ||
arch: | ||
type: string | ||
hostname: | ||
type: string | ||
iface_name: | ||
type: string | ||
ip: | ||
description: IP configuration. | ||
properties: | ||
address: | ||
type: string | ||
family: | ||
format: int64 | ||
type: integer | ||
gateway: | ||
type: string | ||
netmask: | ||
type: string | ||
type: object | ||
lease_time: | ||
format: int64 | ||
type: integer | ||
mac: | ||
type: string | ||
name_servers: | ||
items: | ||
type: string | ||
type: array | ||
time_servers: | ||
items: | ||
type: string | ||
type: array | ||
uefi: | ||
type: boolean | ||
type: object | ||
netboot: | ||
description: Netboot configuration. | ||
properties: | ||
allowPXE: | ||
type: boolean | ||
allowWorkflow: | ||
type: boolean | ||
ipxe: | ||
description: IPXE configuration. | ||
properties: | ||
contents: | ||
type: string | ||
url: | ||
type: string | ||
type: object | ||
osie: | ||
description: OSIE configuration. | ||
properties: | ||
baseURL: | ||
type: string | ||
initrd: | ||
type: string | ||
kernel: | ||
type: string | ||
type: object | ||
type: object | ||
type: object | ||
type: array | ||
metadata: | ||
properties: | ||
bonding_mode: | ||
format: int64 | ||
type: integer | ||
custom: | ||
properties: | ||
preinstalled_operating_system_version: | ||
properties: | ||
distro: | ||
type: string | ||
image_tag: | ||
type: string | ||
os_slug: | ||
type: string | ||
slug: | ||
type: string | ||
version: | ||
type: string | ||
type: object | ||
private_subnets: | ||
items: | ||
type: string | ||
type: array | ||
type: object | ||
facility: | ||
properties: | ||
facility_code: | ||
type: string | ||
plan_slug: | ||
type: string | ||
plan_version_slug: | ||
type: string | ||
type: object | ||
instance: | ||
properties: | ||
allow_pxe: | ||
type: boolean | ||
always_pxe: | ||
type: boolean | ||
crypted_root_password: | ||
type: string | ||
hostname: | ||
type: string | ||
id: | ||
type: string | ||
ips: | ||
items: | ||
properties: | ||
address: | ||
type: string | ||
family: | ||
format: int64 | ||
type: integer | ||
gateway: | ||
type: string | ||
management: | ||
type: boolean | ||
netmask: | ||
type: string | ||
public: | ||
type: boolean | ||
type: object | ||
type: array | ||
ipxe_script_url: | ||
type: string | ||
network_ready: | ||
type: boolean | ||
operating_system: | ||
properties: | ||
distro: | ||
type: string | ||
image_tag: | ||
type: string | ||
os_slug: | ||
type: string | ||
slug: | ||
type: string | ||
version: | ||
type: string | ||
type: object | ||
rescue: | ||
type: boolean | ||
ssh_keys: | ||
items: | ||
type: string | ||
type: array | ||
state: | ||
type: string | ||
storage: | ||
properties: | ||
disks: | ||
items: | ||
properties: | ||
device: | ||
type: string | ||
partitions: | ||
items: | ||
properties: | ||
label: | ||
type: string | ||
number: | ||
format: int64 | ||
type: integer | ||
size: | ||
format: int64 | ||
type: integer | ||
start: | ||
format: int64 | ||
type: integer | ||
type_guid: | ||
type: string | ||
type: object | ||
type: array | ||
wipe_table: | ||
type: boolean | ||
type: object | ||
type: array | ||
filesystems: | ||
items: | ||
properties: | ||
mount: | ||
properties: | ||
create: | ||
properties: | ||
force: | ||
type: boolean | ||
options: | ||
items: | ||
type: string | ||
type: array | ||
type: object | ||
device: | ||
type: string | ||
files: | ||
items: | ||
properties: | ||
contents: | ||
type: string | ||
gid: | ||
format: int64 | ||
type: integer | ||
mode: | ||
format: int64 | ||
type: integer | ||
path: | ||
type: string | ||
uid: | ||
format: int64 | ||
type: integer | ||
type: object | ||
type: array | ||
format: | ||
type: string | ||
point: | ||
type: string | ||
type: object | ||
type: object | ||
type: array | ||
raid: | ||
items: | ||
properties: | ||
devices: | ||
items: | ||
type: string | ||
type: array | ||
level: | ||
type: string | ||
name: | ||
type: string | ||
spare: | ||
format: int64 | ||
type: integer | ||
type: object | ||
type: array | ||
type: object | ||
tags: | ||
items: | ||
type: string | ||
type: array | ||
userdata: | ||
type: string | ||
type: object | ||
manufacturer: | ||
properties: | ||
id: | ||
type: string | ||
slug: | ||
type: string | ||
type: object | ||
state: | ||
type: string | ||
type: object | ||
tinkVersion: | ||
format: int64 | ||
type: integer | ||
userData: | ||
description: UserData is the user data to configure in the hardware's | ||
metadata | ||
type: string | ||
type: object | ||
status: | ||
description: HardwareStatus defines the observed state of Hardware. | ||
properties: | ||
state: | ||
description: HardwareState represents the hardware state. | ||
type: string | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
Oops, something went wrong.