--- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.11.1 creationTimestamp: null name: anesthesianodes.anesthesia.k3s.fr spec: group: anesthesia.k3s.fr names: kind: AnesthesiaNode listKind: AnesthesiaNodeList plural: anesthesianodes shortNames: - an singular: anesthesianode scope: Cluster versions: - additionalPrinterColumns: - jsonPath: .spec.state name: Wanted State type: string - jsonPath: .status.actualState name: Actual State type: string name: v1alpha1 schema: openAPIV3Schema: description: AnesthesiaNode is the Schema for the anesthesianodes 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: AnesthesiaNodeSpec defines the desired state of AnesthesiaNode properties: state: default: "on" enum: - "on" - "off" type: string wakeup: properties: type: enum: - wol - manual type: string wol: properties: macaddr: type: string required: - macaddr type: object required: - type type: object required: - state type: object status: description: AnesthesiaNodeStatus defines the observed state of AnesthesiaNode properties: actualState: description: What is the controller doing with the node enum: - unknown - starting - running - draining - shutting-down - halted type: string type: object type: object served: true storage: true subresources: status: {}