---
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:clusterNetworks:
                .: {}
                f:description: {}
                f:items: {}
                f:type: {}
              f:hostsubnetlength:
                .: {}
                f:description: {}
                f:format: {}
                f:maximum: {}
                f:minimum: {}
                f:type: {}
              f:kind:
                .: {}
                f:description: {}
                f:type: {}
              f:metadata:
                .: {}
                f:type: {}
              f:mtu:
                .: {}
                f:description: {}
                f:format: {}
                f:maximum: {}
                f:minimum: {}
                f:type: {}
              f:network:
                .: {}
                f:description: {}
                f:pattern: {}
                f:type: {}
              f:pluginName:
                .: {}
                f:description: {}
                f:type: {}
              f:serviceNetwork:
                .: {}
                f:description: {}
                f:pattern: {}
                f:type: {}
              f:vxlanPort:
                .: {}
                f:description: {}
                f:format: {}
                f:maximum: {}
                f:minimum: {}
                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: clusternetworks.network.openshift.io
  ownerReferences:
  - apiVersion: operator.openshift.io/v1
    blockOwnerDeletion: true
    controller: true
    kind: Network
    name: cluster
    uid: b48e3238-e625-4cc0-acf5-5166b34864a9
  resourceVersion: "11560"
  selfLink: /apis/apiextensions.k8s.io/v1/customresourcedefinitions/clusternetworks.network.openshift.io
  uid: bd3240c7-32a6-44b3-921c-4f4aaa2ccc21
spec:
  conversion:
    strategy: None
  group: network.openshift.io
  names:
    kind: ClusterNetwork
    listKind: ClusterNetworkList
    plural: clusternetworks
    singular: clusternetwork
  scope: Cluster
  versions:
  - additionalPrinterColumns:
    - description: The primary cluster network CIDR
      jsonPath: .network
      name: Cluster Network
      type: string
    - description: The service network CIDR
      jsonPath: .serviceNetwork
      name: Service Network
      type: string
    - description: The OpenShift SDN network plug-in in use
      jsonPath: .pluginName
      name: Plugin Name
      type: string
    name: v1
    schema:
      openAPIV3Schema:
        description: ClusterNetwork describes the cluster network. There is normally only one object of this type, named "default", which is created by the SDN network plugin based on the master configuration when the cluster is brought up for the first time.
        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
          clusterNetworks:
            description: ClusterNetworks is a list of ClusterNetwork objects that defines the global overlay network's L3 space by specifying a set of CIDR and netmasks that the SDN can allocate addresses from.
            items:
              description: ClusterNetworkEntry defines an individual cluster network. The CIDRs cannot overlap with other cluster network CIDRs, CIDRs reserved for external ips, CIDRs reserved for service networks, and CIDRs reserved for ingress ips.
              properties:
                CIDR:
                  description: CIDR defines the total range of a cluster networks address space.
                  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
                hostSubnetLength:
                  description: HostSubnetLength is the number of bits of the accompanying CIDR address to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods.
                  format: int32
                  maximum: 30
                  minimum: 2
                  type: integer
              required:
              - CIDR
              - hostSubnetLength
              type: object
            type: array
          hostsubnetlength:
            description: HostSubnetLength is the number of bits of network to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods
            format: int32
            maximum: 30
            minimum: 2
            type: integer
          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
          mtu:
            description: MTU is the MTU for the overlay network. This should be 50 less than the MTU of the network connecting the nodes. It is normally autodetected by the cluster network operator.
            format: int32
            maximum: 65536
            minimum: 576
            type: integer
          network:
            description: Network is a CIDR string specifying the global overlay network's L3 space
            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
          pluginName:
            description: PluginName is the name of the network plugin being used
            type: string
          serviceNetwork:
            description: ServiceNetwork is the CIDR range that Service IP addresses are allocated from
            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
          vxlanPort:
            description: VXLANPort sets the VXLAN destination port used by the cluster. It is set by the master configuration file on startup and cannot be edited manually. Valid values for VXLANPort are integers 1-65535 inclusive and if unset defaults to 4789. Changing VXLANPort allows users to resolve issues between openshift SDN and other software trying to use the same VXLAN destination port.
            format: int32
            maximum: 65535
            minimum: 1
            type: integer
        required:
        - clusterNetworks
        - serviceNetwork
        type: object
    served: true
    storage: true
status:
  acceptedNames:
    kind: ClusterNetwork
    listKind: ClusterNetworkList
    plural: clusternetworks
    singular: clusternetwork
  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
