---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  creationTimestamp: "2022-03-08T10:38:08Z"
  generation: 1
  managedFields:
  - apiVersion: apiextensions.k8s.io/v1beta1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:ownerReferences:
          .: {}
          k:{"uid":"b48e3238-e625-4cc0-acf5-5166b34864a9"}:
            .: {}
            f:apiVersion: {}
            f:blockOwnerDeletion: {}
            f:controller: {}
            f:kind: {}
            f:name: {}
            f:uid: {}
      f:spec:
        f:additionalPrinterColumns: {}
        f:conversion:
          .: {}
          f:strategy: {}
        f:group: {}
        f:names:
          f:kind: {}
          f:listKind: {}
          f:plural: {}
          f:singular: {}
        f:preserveUnknownFields: {}
        f:scope: {}
        f:validation:
          .: {}
          f:openAPIV3Schema:
            .: {}
            f:description: {}
            f:properties:
              .: {}
              f:apiVersion:
                .: {}
                f:description: {}
                f:type: {}
              f:egressCIDRs:
                .: {}
                f:description: {}
                f:items: {}
                f:type: {}
              f:egressIPs:
                .: {}
                f:description: {}
                f:items: {}
                f:type: {}
              f:host:
                .: {}
                f:description: {}
                f:pattern: {}
                f:type: {}
              f:hostIP:
                .: {}
                f:description: {}
                f:pattern: {}
                f:type: {}
              f:kind:
                .: {}
                f:description: {}
                f:type: {}
              f:metadata:
                .: {}
                f:type: {}
              f:subnet:
                .: {}
                f:description: {}
                f:pattern: {}
                f:type: {}
            f:required: {}
            f:type: {}
        f:version: {}
        f:versions: {}
      f:status:
        f:acceptedNames:
          f:kind: {}
          f:plural: {}
        f:conditions: {}
        f:storedVersions: {}
    manager: cluster-network-operator
    operation: Update
    time: "2022-03-08T10:41:11Z"
  name: hostsubnets.network.openshift.io
  ownerReferences:
  - apiVersion: operator.openshift.io/v1
    blockOwnerDeletion: true
    controller: true
    kind: Network
    name: cluster
    uid: b48e3238-e625-4cc0-acf5-5166b34864a9
  resourceVersion: "11561"
  selfLink: /apis/apiextensions.k8s.io/v1/customresourcedefinitions/hostsubnets.network.openshift.io
  uid: 1aa6f750-8fc9-4f7a-92d4-a71ecaa30b9a
spec:
  conversion:
    strategy: None
  group: network.openshift.io
  names:
    kind: HostSubnet
    listKind: HostSubnetList
    plural: hostsubnets
    singular: hostsubnet
  scope: Cluster
  versions:
  - additionalPrinterColumns:
    - description: The name of the node
      jsonPath: .host
      name: Host
      type: string
    - description: The IP address to be used as a VTEP by other nodes in the overlay network
      jsonPath: .hostIP
      name: Host IP
      type: string
    - description: The CIDR range of the overlay network assigned to the node for its pods
      jsonPath: .subnet
      name: Subnet
      type: string
    - description: The network egress CIDRs
      jsonPath: .egressCIDRs
      name: Egress CIDRs
      type: string
    - description: The network egress IP addresses
      jsonPath: .egressIPs
      name: Egress IPs
      type: string
    name: v1
    schema:
      openAPIV3Schema:
        description: HostSubnet describes the container subnet network on a node. The HostSubnet object must have the same name as the Node object it corresponds to.
        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
          egressCIDRs:
            description: EgressCIDRs is the list of CIDR ranges available for automatically assigning egress IPs to this node from. If this field is set then EgressIPs should be treated as read-only.
            items:
              pattern: ^(([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/([0-9]|[12][0-9]|3[0-2])$
              type: string
            type: array
          egressIPs:
            description: EgressIPs is the list of automatic egress IP addresses currently hosted by this node. If EgressCIDRs is empty, this can be set by hand; if EgressCIDRs is set then the master will overwrite the value here with its own allocation of egress IPs.
            items:
              pattern: ^(([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$
              type: string
            type: array
          host:
            description: Host is the name of the node. (This is the same as the object's name, but both fields must be set.)
            pattern: ^[a-z0-9.-]+$
            type: string
          hostIP:
            description: HostIP is the IP address to be used as a VTEP by other nodes in the overlay network
            pattern: ^(([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$
            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
          subnet:
            description: Subnet is the CIDR range of the overlay network assigned to the node for its pods
            pattern: ^(([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/([0-9]|[12][0-9]|3[0-2])$
            type: string
        required:
        - host
        - hostIP
        type: object
    served: true
    storage: true
status:
  acceptedNames:
    kind: HostSubnet
    listKind: HostSubnetList
    plural: hostsubnets
    singular: hostsubnet
  conditions:
  - lastTransitionTime: "2022-03-08T10:38:08Z"
    message: no conflicts found
    reason: NoConflicts
    status: "True"
    type: NamesAccepted
  - lastTransitionTime: "2022-03-08T10:38:08Z"
    message: the initial names have been accepted
    reason: InitialNamesAccepted
    status: "True"
    type: Established
  storedVersions:
  - v1
