0f21921065
A Machine actuator implementation for the Kubernetes Cluster API Change-Id: I5dcc610d3eea89adbd0aef81f11aad56e73bfb99
119 lines
5.4 KiB
YAML
119 lines
5.4 KiB
YAML
---
|
|
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
control-plane: capbm-controller-manager
|
|
name: baremetalclusters.infrastructure.cluster.x-k8s.io
|
|
spec:
|
|
group: infrastructure.cluster.x-k8s.io
|
|
names:
|
|
categories:
|
|
- cluster-api
|
|
kind: BareMetalCluster
|
|
plural: baremetalclusters
|
|
scope: Namespaced
|
|
subresources:
|
|
status: {}
|
|
validation:
|
|
openAPIV3Schema:
|
|
description: BareMetalCluster is the Schema for the baremetalclusters 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: BareMetalClusterSpec defines the desired state of BareMetalCluster.
|
|
properties:
|
|
apiEndpoint:
|
|
type: string
|
|
required:
|
|
- apiEndpoint
|
|
type: object
|
|
status:
|
|
description: BareMetalClusterStatus defines the observed state of BareMetalCluster.
|
|
properties:
|
|
apiEndpoints:
|
|
description: APIEndpoints represents the endpoints to communicate with
|
|
the control plane.
|
|
items:
|
|
description: APIEndpoint represents a reachable Kubernetes API endpoint.
|
|
properties:
|
|
host:
|
|
description: Host is the hostname on which the API server is serving.
|
|
type: string
|
|
port:
|
|
description: Port is the port on which the API server is serving.
|
|
type: integer
|
|
required:
|
|
- host
|
|
- port
|
|
type: object
|
|
type: array
|
|
errorMessage:
|
|
description: "ErrorMessage will be set in the event that there is a
|
|
terminal problem reconciling the BaremetalMachine and will contain
|
|
a more verbose string suitable for logging and human consumption.
|
|
\n This field should not be set for transitive errors that a controller
|
|
faces that are expected to be fixed automatically over time (like
|
|
service outages), but instead indicate that something is fundamentally
|
|
wrong with the BaremetalMachine's spec or the configuration of the
|
|
controller, and that manual intervention is required. Examples of
|
|
terminal errors would be invalid combinations of settings in the spec,
|
|
values that are unsupported by the controller, or the responsible
|
|
controller itself being critically misconfigured. \n Any transient
|
|
errors that occur during the reconciliation of Machines can be added
|
|
as events to the BaremetalMachine object and/or logged in the controller's
|
|
output."
|
|
type: string
|
|
errorReason:
|
|
description: "ErrorReason will be set in the event that there is a terminal
|
|
problem reconciling the BaremetalMachine and will contain a succinct
|
|
value suitable for machine interpretation. \n This field should not
|
|
be set for transitive errors that a controller faces that are expected
|
|
to be fixed automatically over time (like service outages), but instead
|
|
indicate that something is fundamentally wrong with the BaremetalMachine's
|
|
spec or the configuration of the controller, and that manual intervention
|
|
is required. Examples of terminal errors would be invalid combinations
|
|
of settings in the spec, values that are unsupported by the controller,
|
|
or the responsible controller itself being critically misconfigured.
|
|
\n Any transient errors that occur during the reconciliation of Machines
|
|
can be added as events to the BaremetalMachine object and/or logged
|
|
in the controller's output."
|
|
type: string
|
|
lastUpdated:
|
|
description: LastUpdated identifies when this status was last observed.
|
|
format: date-time
|
|
type: string
|
|
ready:
|
|
description: Ready denotes that the baremetal cluster (infrastructure)
|
|
is ready. In Baremetal case, it does not mean anything for now as
|
|
no infrastructure steps need to be performed. Required by Cluster
|
|
API. Set to True by the BaremetalCluster controller after creation.
|
|
type: boolean
|
|
required:
|
|
- ready
|
|
type: object
|
|
type: object
|
|
version: v1alpha2
|
|
versions:
|
|
- name: v1alpha2
|
|
served: true
|
|
storage: true
|
|
status:
|
|
acceptedNames:
|
|
kind: ""
|
|
plural: ""
|
|
conditions: []
|
|
storedVersions: []
|