---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  creationTimestamp: "2022-03-08T10:13:32Z"
  generation: 2
  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:scope: {}
        f:version: {}
        f:versions: {}
      f:status:
        f:storedVersions: {}
    manager: cluster-bootstrap
    operation: Update
    time: "2022-03-08T10:13:32Z"
  - 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:13:32Z"
  - apiVersion: apiextensions.k8s.io/v1beta1
    fieldsType: FieldsV1
    fieldsV1:
      f:spec:
        f:preserveUnknownFields: {}
        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:additionalNetworks:
                    .: {}
                    f:description: {}
                    f:items: {}
                    f:type: {}
                  f:clusterNetwork:
                    .: {}
                    f:description: {}
                    f:items: {}
                    f:type: {}
                  f:defaultNetwork:
                    .: {}
                    f:description: {}
                    f:properties:
                      .: {}
                      f:kuryrConfig:
                        .: {}
                        f:description: {}
                        f:properties:
                          .: {}
                          f:controllerProbesPort:
                            .: {}
                            f:description: {}
                            f:format: {}
                            f:minimum: {}
                            f:type: {}
                          f:daemonProbesPort:
                            .: {}
                            f:description: {}
                            f:format: {}
                            f:minimum: {}
                            f:type: {}
                          f:enablePortPoolsPrepopulation:
                            .: {}
                            f:description: {}
                            f:type: {}
                          f:openStackServiceNetwork:
                            .: {}
                            f:description: {}
                            f:type: {}
                          f:poolBatchPorts:
                            .: {}
                            f:description: {}
                            f:minimum: {}
                            f:type: {}
                          f:poolMaxPorts:
                            .: {}
                            f:description: {}
                            f:minimum: {}
                            f:type: {}
                          f:poolMinPorts:
                            .: {}
                            f:description: {}
                            f:minimum: {}
                            f:type: {}
                        f:type: {}
                      f:openshiftSDNConfig:
                        .: {}
                        f:description: {}
                        f:properties:
                          .: {}
                          f:enableUnidling:
                            .: {}
                            f:description: {}
                            f:type: {}
                          f:mode:
                            .: {}
                            f:description: {}
                            f:type: {}
                          f:mtu:
                            .: {}
                            f:description: {}
                            f:format: {}
                            f:minimum: {}
                            f:type: {}
                          f:useExternalOpenvswitch:
                            .: {}
                            f:description: {}
                            f:type: {}
                          f:vxlanPort:
                            .: {}
                            f:description: {}
                            f:format: {}
                            f:minimum: {}
                            f:type: {}
                        f:type: {}
                      f:ovnKubernetesConfig:
                        .: {}
                        f:description: {}
                        f:properties:
                          .: {}
                          f:genevePort:
                            .: {}
                            f:description: {}
                            f:format: {}
                            f:minimum: {}
                            f:type: {}
                          f:hybridOverlayConfig:
                            .: {}
                            f:description: {}
                            f:properties:
                              .: {}
                              f:hybridClusterNetwork:
                                .: {}
                                f:description: {}
                                f:items: {}
                                f:type: {}
                              f:hybridOverlayVXLANPort:
                                .: {}
                                f:description: {}
                                f:format: {}
                                f:minimum: {}
                                f:type: {}
                            f:type: {}
                          f:mtu:
                            .: {}
                            f:description: {}
                            f:format: {}
                            f:minimum: {}
                            f:type: {}
                        f:type: {}
                      f:type:
                        .: {}
                        f:description: {}
                        f:type: {}
                    f:required: {}
                    f:type: {}
                  f:deployKubeProxy:
                    .: {}
                    f:description: {}
                    f:type: {}
                  f:disableMultiNetwork:
                    .: {}
                    f:description: {}
                    f:type: {}
                  f:kubeProxyConfig:
                    .: {}
                    f:description: {}
                    f:properties:
                      .: {}
                      f:bindAddress:
                        .: {}
                        f:description: {}
                        f:type: {}
                      f:iptablesSyncPeriod:
                        .: {}
                        f:description: {}
                        f:type: {}
                      f:proxyArguments:
                        .: {}
                        f:additionalProperties: {}
                        f:description: {}
                        f:type: {}
                    f:type: {}
                  f:logLevel:
                    .: {}
                    f:description: {}
                    f:type: {}
                  f:serviceNetwork:
                    .: {}
                    f:description: {}
                    f:items: {}
                    f:type: {}
                f:required: {}
                f:type: {}
              f:status:
                .: {}
                f:description: {}
                f:type: {}
            f:type: {}
    manager: cluster-version-operator
    operation: Update
    time: "2022-03-08T10:13:45Z"
  name: networks.operator.openshift.io
  resourceVersion: "810"
  selfLink: /apis/apiextensions.k8s.io/v1/customresourcedefinitions/networks.operator.openshift.io
  uid: 270bb93c-d162-4e25-83bd-99be79c2f0cb
spec:
  conversion:
    strategy: None
  group: operator.openshift.io
  names:
    kind: Network
    listKind: NetworkList
    plural: networks
    singular: network
  scope: Cluster
  versions:
  - name: v1
    schema:
      openAPIV3Schema:
        description: Network describes the cluster's desired network configuration. It is consumed by the cluster-network-operator.
        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: NetworkSpec is the top-level network configuration object.
            properties:
              additionalNetworks:
                description: additionalNetworks is a list of extra networks to make available to pods when multiple networks are enabled.
                items:
                  description: AdditionalNetworkDefinition configures an extra network that is available but not created by default. Instead, pods must request them by name. type must be specified, along with exactly one "Config" that matches the type.
                  properties:
                    name:
                      description: name is the name of the network. This will be populated in the resulting CRD This must be unique.
                      type: string
                    namespace:
                      description: namespace is the namespace of the network. This will be populated in the resulting CRD If not given the network will be created in the default namespace.
                      type: string
                    rawCNIConfig:
                      description: rawCNIConfig is the raw CNI configuration json to create in the NetworkAttachmentDefinition CRD
                      type: string
                    simpleMacvlanConfig:
                      description: SimpleMacvlanConfig configures the macvlan interface in case of type:NetworkTypeSimpleMacvlan
                      properties:
                        ipamConfig:
                          description: IPAMConfig configures IPAM module will be used for IP Address Management (IPAM).
                          properties:
                            staticIPAMConfig:
                              description: StaticIPAMConfig configures the static IP address in case of type:IPAMTypeStatic
                              properties:
                                addresses:
                                  description: Addresses configures IP address for the interface
                                  items:
                                    description: StaticIPAMAddresses provides IP address and Gateway for static IPAM addresses
                                    properties:
                                      address:
                                        description: Address is the IP address in CIDR format
                                        type: string
                                      gateway:
                                        description: Gateway is IP inside of subnet to designate as the gateway
                                        type: string
                                    type: object
                                  type: array
                                dns:
                                  description: DNS configures DNS for the interface
                                  properties:
                                    domain:
                                      description: Domain configures the domainname the local domain used for short hostname lookups
                                      type: string
                                    nameservers:
                                      description: Nameservers points DNS servers for IP lookup
                                      items:
                                        type: string
                                      type: array
                                    search:
                                      description: Search configures priority ordered search domains for short hostname lookups
                                      items:
                                        type: string
                                      type: array
                                  type: object
                                routes:
                                  description: Routes configures IP routes for the interface
                                  items:
                                    description: StaticIPAMRoutes provides Destination/Gateway pairs for static IPAM routes
                                    properties:
                                      destination:
                                        description: Destination points the IP route destination
                                        type: string
                                      gateway:
                                        description: Gateway is the route's next-hop IP address If unset, a default gateway is assumed (as determined by the CNI plugin).
                                        type: string
                                    type: object
                                  type: array
                              type: object
                            type:
                              description: Type is the type of IPAM module will be used for IP Address Management(IPAM). The supported values are IPAMTypeDHCP, IPAMTypeStatic
                              type: string
                          type: object
                        master:
                          description: master is the host interface to create the macvlan interface from. If not specified, it will be default route interface
                          type: string
                        mode:
                          description: 'mode is the macvlan mode: bridge, private, vepa, passthru. The default is bridge'
                          type: string
                        mtu:
                          description: mtu is the mtu to use for the macvlan interface. if unset, host's kernel will select the value.
                          format: int32
                          minimum: 0
                          type: integer
                      type: object
                    type:
                      description: type is the type of network The supported values are NetworkTypeRaw, NetworkTypeSimpleMacvlan
                      type: string
                  required:
                  - type
                  - name
                  type: object
                type: array
              clusterNetwork:
                description: clusterNetwork is the IP address pool to use for pod IPs. Some network providers, e.g. OpenShift SDN, support multiple ClusterNetworks. Others only support one. This is equivalent to the cluster-cidr.
                items:
                  description: ClusterNetworkEntry is a subnet from which to allocate PodIPs. A network of size HostPrefix (in CIDR notation) will be allocated when nodes join the cluster. If HostPrefix is not used by the plugin, it can be left unset. Not all network providers support multiple ClusterNetworks
                  properties:
                    cidr:
                      type: string
                    hostPrefix:
                      format: int32
                      minimum: 0
                      type: integer
                  required:
                  - cidr
                  type: object
                type: array
              defaultNetwork:
                description: defaultNetwork is the "default" network that all pods will receive
                properties:
                  kuryrConfig:
                    description: KuryrConfig configures the kuryr plugin
                    properties:
                      controllerProbesPort:
                        description: The port kuryr-controller will listen for readiness and liveness requests.
                        format: int32
                        minimum: 0
                        type: integer
                      daemonProbesPort:
                        description: The port kuryr-daemon will listen for readiness and liveness requests.
                        format: int32
                        minimum: 0
                        type: integer
                      enablePortPoolsPrepopulation:
                        description: enablePortPoolsPrepopulation when true will make Kuryr prepopulate each newly created port pool with a minimum number of ports. Kuryr uses Neutron port pooling to fight the fact that it takes a significant amount of time to create one. Instead of creating it when pod is being deployed, Kuryr keeps a number of ports ready to be attached to pods. By default port prepopulation is disabled.
                        type: boolean
                      openStackServiceNetwork:
                        description: openStackServiceNetwork contains the CIDR of network from which to allocate IPs for OpenStack Octavia's Amphora VMs. Please note that with Amphora driver Octavia uses two IPs from that network for each loadbalancer - one given by OpenShift and second for VRRP connections. As the first one is managed by OpenShift's and second by Neutron's IPAMs, those need to come from different pools. Therefore `openStackServiceNetwork` needs to be at least twice the size of `serviceNetwork`, and whole `serviceNetwork` must be overlapping with `openStackServiceNetwork`. cluster-network-operator will then make sure VRRP IPs are taken from the ranges inside `openStackServiceNetwork` that are not overlapping with `serviceNetwork`, effectivly preventing conflicts. If not set cluster-network-operator will use `serviceNetwork` expanded by decrementing the prefix size by 1.
                        type: string
                      poolBatchPorts:
                        description: poolBatchPorts sets a number of ports that should be created in a single batch request to extend the port pool. The default is 3. For more information about port pools see enablePortPoolsPrepopulation setting.
                        minimum: 0
                        type: integer
                      poolMaxPorts:
                        description: poolMaxPorts sets a maximum number of free ports that are being kept in a port pool. If the number of ports exceeds this setting, free ports will get deleted. Setting 0 will disable this upper bound, effectively preventing pools from shrinking and this is the default value. For more information about port pools see enablePortPoolsPrepopulation setting.
                        minimum: 0
                        type: integer
                      poolMinPorts:
                        description: poolMinPorts sets a minimum number of free ports that should be kept in a port pool. If the number of ports is lower than this setting, new ports will get created and added to pool. The default is 1. For more information about port pools see enablePortPoolsPrepopulation setting.
                        minimum: 1
                        type: integer
                    type: object
                  openshiftSDNConfig:
                    description: openShiftSDNConfig configures the openshift-sdn plugin
                    properties:
                      enableUnidling:
                        description: enableUnidling controls whether or not the service proxy will support idling and unidling of services. By default, unidling is enabled.
                        type: boolean
                      mode:
                        description: mode is one of "Multitenant", "Subnet", or "NetworkPolicy"
                        type: string
                      mtu:
                        description: mtu is the mtu to use for the tunnel interface. Defaults to 1450 if unset. This must be 50 bytes smaller than the machine's uplink.
                        format: int32
                        minimum: 0
                        type: integer
                      useExternalOpenvswitch:
                        description: useExternalOpenvswitch tells the operator not to install openvswitch, because it will be provided separately. If set, you must provide it yourself.
                        type: boolean
                      vxlanPort:
                        description: vxlanPort is the port to use for all vxlan packets. The default is 4789.
                        format: int32
                        minimum: 0
                        type: integer
                    type: object
                  ovnKubernetesConfig:
                    description: ovnKubernetesConfig configures the ovn-kubernetes plugin.
                    properties:
                      genevePort:
                        description: geneve port is the UDP port to be used by geneve encapulation. Default is 6081
                        format: int32
                        minimum: 1
                        type: integer
                      hybridOverlayConfig:
                        description: HybridOverlayConfig configures an additional overlay network for peers that are not using OVN.
                        properties:
                          hybridClusterNetwork:
                            description: HybridClusterNetwork defines a network space given to nodes on an additional overlay network.
                            items:
                              description: ClusterNetworkEntry is a subnet from which to allocate PodIPs. A network of size HostPrefix (in CIDR notation) will be allocated when nodes join the cluster. Not all network providers support multiple ClusterNetworks
                              properties:
                                cidr:
                                  type: string
                                hostPrefix:
                                  format: int32
                                  minimum: 0
                                  type: integer
                              type: object
                            type: array
                          hybridOverlayVXLANPort:
                            description: defines the VXLAN port number to be used by the additional overlay network. Default is 4789
                            format: int32
                            minimum: 1
                            type: integer
                        type: object
                      mtu:
                        description: mtu is the MTU to use for the tunnel interface. This must be 100 bytes smaller than the uplink mtu. Default is 1400
                        format: int32
                        minimum: 0
                        type: integer
                    type: object
                  type:
                    description: type is the type of network All NetworkTypes are supported except for NetworkTypeRaw
                    type: string
                required:
                - type
                type: object
              deployKubeProxy:
                description: deployKubeProxy specifies whether or not a standalone kube-proxy should be deployed by the operator. Some network providers include kube-proxy or similar functionality. If unset, the plugin will attempt to select the correct value, which is false when OpenShift SDN and ovn-kubernetes are used and true otherwise.
                type: boolean
              disableMultiNetwork:
                description: disableMultiNetwork specifies whether or not multiple pod network support should be disabled. If unset, this property defaults to 'false' and multiple network support is enabled.
                type: boolean
              kubeProxyConfig:
                description: kubeProxyConfig lets us configure desired proxy configuration. If not specified, sensible defaults will be chosen by OpenShift directly. Not consumed by all network providers - currently only openshift-sdn.
                properties:
                  bindAddress:
                    description: The address to "bind" on Defaults to 0.0.0.0
                    type: string
                  iptablesSyncPeriod:
                    description: 'The period that iptables rules are refreshed. Default: 30s'
                    type: string
                  proxyArguments:
                    additionalProperties:
                      description: ProxyArgumentList is a list of arguments to pass to the kubeproxy process
                      items:
                        type: string
                      type: array
                    description: Any additional arguments to pass to the kubeproxy process
                    type: object
                type: object
              logLevel:
                description: logLevel allows configuring the logging level of the components deployed by the operator. Currently only Kuryr SDN is affected by this setting. Please note that turning on extensive logging may affect performance. The default value is "Normal".
                type: string
              serviceNetwork:
                description: serviceNetwork is the ip address pool to use for Service IPs Currently, all existing network providers only support a single value here, but this is an array to allow for growth.
                items:
                  type: string
                type: array
            required:
            - defaultNetwork
            type: object
          status:
            description: NetworkStatus is currently unused. Instead, status is reported in the Network.config.openshift.io object.
            type: object
        type: object
    served: true
    storage: true
status:
  acceptedNames:
    kind: Network
    listKind: NetworkList
    plural: networks
    singular: network
  conditions:
  - lastTransitionTime: "2022-03-08T10:13:32Z"
    message: no conflicts found
    reason: NoConflicts
    status: "True"
    type: NamesAccepted
  - lastTransitionTime: "2022-03-08T10:13:32Z"
    message: the initial names have been accepted
    reason: InitialNamesAccepted
    status: "True"
    type: Established
  storedVersions:
  - v1
