---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  creationTimestamp: "2022-03-08T10:14:17Z"
  generation: 1
  managedFields:
  - apiVersion: apiextensions.k8s.io/v1beta1
    fieldsType: FieldsV1
    fieldsV1:
      f:spec:
        f:conversion:
          .: {}
          f:strategy: {}
        f:group: {}
        f:names:
          f:kind: {}
          f:listKind: {}
          f:plural: {}
          f:singular: {}
        f:preserveUnknownFields: {}
        f:scope: {}
        f:subresources:
          .: {}
          f:status: {}
        f:validation:
          .: {}
          f:openAPIV3Schema:
            .: {}
            f:description: {}
            f:properties:
              .: {}
              f:apiVersion:
                .: {}
                f:description: {}
                f:type: {}
              f:kind:
                .: {}
                f:description: {}
                f:type: {}
              f:metadata:
                .: {}
                f:type: {}
              f:spec:
                .: {}
                f:description: {}
                f:properties:
                  .: {}
                  f:provisioningDHCPExternal:
                    .: {}
                    f:description: {}
                    f:type: {}
                  f:provisioningDHCPRange:
                    .: {}
                    f:description: {}
                    f:type: {}
                  f:provisioningIP:
                    .: {}
                    f:description: {}
                    f:type: {}
                  f:provisioningInterface:
                    .: {}
                    f:description: {}
                    f:type: {}
                  f:provisioningNetwork:
                    .: {}
                    f:description: {}
                    f:enum: {}
                    f:type: {}
                  f:provisioningNetworkCIDR:
                    .: {}
                    f:description: {}
                    f:type: {}
                  f:provisioningOSDownloadURL:
                    .: {}
                    f:description: {}
                    f:type: {}
                f:type: {}
              f:status:
                .: {}
                f:description: {}
                f:properties:
                  .: {}
                  f:conditions:
                    .: {}
                    f:description: {}
                    f:items: {}
                    f:type: {}
                  f:generations:
                    .: {}
                    f:description: {}
                    f:items: {}
                    f:type: {}
                  f:observedGeneration:
                    .: {}
                    f:description: {}
                    f:format: {}
                    f:type: {}
                  f:readyReplicas:
                    .: {}
                    f:description: {}
                    f:format: {}
                    f:type: {}
                f:type: {}
            f:required: {}
            f:type: {}
        f:version: {}
        f:versions: {}
      f:status:
        f:storedVersions: {}
    manager: cluster-version-operator
    operation: Update
    time: "2022-03-08T10:14:17Z"
  - apiVersion: apiextensions.k8s.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:status:
        f:acceptedNames:
          f:kind: {}
          f:listKind: {}
          f:plural: {}
          f:singular: {}
        f:conditions: {}
    manager: kube-apiserver
    operation: Update
    time: "2022-03-08T10:14:17Z"
  name: provisionings.metal3.io
  resourceVersion: "1868"
  selfLink: /apis/apiextensions.k8s.io/v1/customresourcedefinitions/provisionings.metal3.io
  uid: 569407d0-6d87-4b6c-9f59-182c9099b1c4
spec:
  conversion:
    strategy: None
  group: metal3.io
  names:
    kind: Provisioning
    listKind: ProvisioningList
    plural: provisionings
    singular: provisioning
  preserveUnknownFields: true
  scope: Cluster
  versions:
  - name: v1alpha1
    schema:
      openAPIV3Schema:
        description: Provisioning contains configuration used by the Provisioning service (Ironic) to provision baremetal hosts. \n Provisioning is created by the Openshift installer using admin or user provided information about the provisioning network and the NIC on the server that can be used to PXE boot it. \n This CR is a singleton, created by the installer and currently only consumed by the machine-api-operator to bring up and update containers in a metal3 cluster.
        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: Specification of provisioning configuration for Metal3.
            properties:
              provisioningDHCPExternal:
                description: provisioningDHCPExternal indicates whether the DHCP server for IP addresses in the provisioning DHCP range is present within the metal3 cluster or external to it. This field is being deprecated in favor of provisioningNetwork.
                type: boolean
              provisioningDHCPRange:
                description: Needs to be interpreted along with provisioningDHCPExternal or provisioningNetwork. If the value of provisioningDHCPExternal is set to False, provisioningDHCPRange represents the range of IP addresses that the DHCP server running within the metal3 cluster can use while provisioning baremetal servers. If the value of provisioningDHCPExternal is set to True, then the value of provisioningDHCPRange will be ignored. When the value of provisioningDHCPExternal is set to False, indicating an internal DHCP server and the value of provisioningDHCPRange is not set, then the DHCP range is taken to be the default range which goes from .10 to .100 of the provisioningNetworkCIDR. This is the only value in all of the provisioning configuration that can be changed after the installer has created the CR. This value needs to be two comma sererated IP addresses within the provisioningNetworkCIDR where the 1st address represents the start of the range and the 2nd address represents the last usable address in the range. When the provisioningNetwork is set to `Managed`, the value of provisioningDHCPRange would be used and ignored in the other 2 modes.
                type: string
              provisioningIP:
                description: provisioningIP is the IP address assigned to the provisioningInterface of the baremetal server. This IP address should be within the provisioning subnet, and outside of the DHCP range.
                type: string
              provisioningInterface:
                description: provisioningInterface is the name of the network interface on a baremetal server to the provisioning network. It can have values like eth1 or ens3.
                type: string
              provisioningNetwork:
                description: provisioningNetwork provides a way to indicate the state of the underlying network configuration for the provisioning network. This field can have one of the following values - `Managed`- when the provisioning network is completely managed by the Baremetal IPI solution. `Unmanaged`- when the provsioning network is present and used but the user is responsible for managing DHCP. Virtual media provisioning is recommended but PXE is still available if required. `Disabled`- when the provisioning network is fully disabled. User can bring up the baremetal cluster using virtual media or assisted installation. If using metal3 for power management, BMCs must be accessible from the machine networks. User should provide two IPs on the external network that would be used for provisioning services.
                enum:
                - Managed
                - Unmanaged
                - Disabled
                type: string
              provisioningNetworkCIDR:
                description: provisioningNetworkCIDR is the network on which the baremetal nodes are provisioned. The provisioningIP and the IPs in the dhcpRange all come from within this network.
                type: string
              provisioningOSDownloadURL:
                description: provisioningOSDownloadURL is the location from which the OS Image used to boot baremetal host machines can be downloaded by the metal3 cluster.
                type: string
            type: object
          status:
            description: status holds observed values from the cluster. They may not be overridden.
            properties:
              conditions:
                description: conditions is a list of conditions and their status
                items:
                  description: OperatorCondition is just the standard condition fields.
                  properties:
                    lastTransitionTime:
                      format: date-time
                      type: string
                    message:
                      type: string
                    reason:
                      type: string
                    status:
                      type: string
                    type:
                      type: string
                  type: object
                type: array
              generations:
                description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.
                items:
                  description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made.
                  properties:
                    group:
                      description: group is the group of the thing you're tracking
                      type: string
                    hash:
                      description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps
                      type: string
                    lastGeneration:
                      description: lastGeneration is the last generation of the workload controller involved
                      format: int64
                      type: integer
                    name:
                      description: name is the name of the thing you're tracking
                      type: string
                    namespace:
                      description: namespace is where the thing you're tracking is
                      type: string
                    resource:
                      description: resource is the resource type of the thing you're tracking
                      type: string
                  type: object
                type: array
              observedGeneration:
                description: observedGeneration is the last generation change you've dealt with
                format: int64
                type: integer
              readyReplicas:
                description: readyReplicas indicates how many replicas are ready and at the desired state
                format: int32
                type: integer
            type: object
        required:
        - spec
        type: object
    served: true
    storage: true
    subresources:
      status: {}
status:
  acceptedNames:
    kind: Provisioning
    listKind: ProvisioningList
    plural: provisionings
    singular: provisioning
  conditions:
  - lastTransitionTime: "2022-03-08T10:14:17Z"
    message: no conflicts found
    reason: NoConflicts
    status: "True"
    type: NamesAccepted
  - lastTransitionTime: "2022-03-08T10:14:17Z"
    message: the initial names have been accepted
    reason: InitialNamesAccepted
    status: "True"
    type: Established
  storedVersions:
  - v1alpha1
