--- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null labels: clusterctl.cluster.x-k8s.io: "" clusterctl.cluster.x-k8s.io/move: "" name: machines.bmc.tinkerbell.org spec: group: bmc.tinkerbell.org names: categories: - tinkerbell kind: Machine listKind: MachineList plural: machines singular: machine scope: Namespaced versions: - name: v1alpha1 schema: openAPIV3Schema: description: Machine is the Schema for the machines 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: MachineSpec defines desired machine state properties: connection: description: Connection contains connection data for a Baseboard Management Controller. properties: authSecretRef: description: AuthSecretRef is the SecretReference that contains authentication information of the Machine. The Secret must contain username and password keys. properties: name: description: name is unique within a namespace to reference a secret resource. type: string namespace: description: namespace defines the space within which the secret name must be unique. type: string type: object host: description: Host is the host IP address or hostname of the Machine. minLength: 1 type: string insecureTLS: description: InsecureTLS specifies trusted TLS connections. type: boolean port: default: 623 description: Port is the port number for connecting with the Machine. type: integer required: - authSecretRef - host - insecureTLS - port type: object required: - connection type: object status: description: MachineStatus defines the observed state of Machine properties: conditions: description: Conditions represents the latest available observations of an object's current state. items: description: MachineCondition defines an observed condition of a Machine. properties: lastUpdateTime: description: LastUpdateTime of the condition. format: date-time type: string message: description: Message is a human readable message indicating with details of the last transition. type: string status: description: Status of the condition. type: string type: description: Type of the Machine condition. type: string required: - status - type type: object type: array powerState: description: Power is the current power state of the Machine. enum: - "on" - "off" type: string type: object type: object served: true storage: true subresources: status: {} status: acceptedNames: kind: "" plural: "" conditions: [] storedVersions: []