---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.14.0
    operatorframework.io/installed-alongside-4cc4933f31e34a7: openshift-sriov-network-operator/sriov-network-operator.v4.19.0-202510142112
  creationTimestamp: "2025-10-27T12:38:07Z"
  generation: 1
  labels:
    olm.managed: "true"
    operators.coreos.com/sriov-network-operator.openshift-sriov-network-operator: ""
  managedFields:
  - apiVersion: apiextensions.k8s.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:controller-gen.kubebuilder.io/version: {}
          f:operatorframework.io/installed-alongside-4cc4933f31e34a7: {}
        f:labels:
          .: {}
          f:olm.managed: {}
      f:spec:
        f:conversion:
          .: {}
          f:strategy: {}
        f:group: {}
        f:names:
          f:kind: {}
          f:listKind: {}
          f:plural: {}
          f:singular: {}
        f:scope: {}
        f:versions: {}
    manager: catalog
    operation: Update
    time: "2025-10-27T12:38:07Z"
  - apiVersion: apiextensions.k8s.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:status:
        f:acceptedNames:
          f:kind: {}
          f:listKind: {}
          f:plural: {}
          f:singular: {}
        f:conditions:
          k:{"type":"Established"}:
            .: {}
            f:lastTransitionTime: {}
            f:message: {}
            f:reason: {}
            f:status: {}
            f:type: {}
          k:{"type":"NamesAccepted"}:
            .: {}
            f:lastTransitionTime: {}
            f:message: {}
            f:reason: {}
            f:status: {}
            f:type: {}
    manager: kube-apiserver
    operation: Update
    subresource: status
    time: "2025-10-27T12:38:07Z"
  - apiVersion: apiextensions.k8s.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:labels:
          f:operators.coreos.com/sriov-network-operator.openshift-sriov-network-operator: {}
    manager: olm
    operation: Update
    time: "2025-10-27T12:38:16Z"
  name: sriovoperatorconfigs.sriovnetwork.openshift.io
  resourceVersion: "49762"
  uid: 85a1c0e3-ed65-4e67-9652-5fb9954a4501
spec:
  conversion:
    strategy: None
  group: sriovnetwork.openshift.io
  names:
    kind: SriovOperatorConfig
    listKind: SriovOperatorConfigList
    plural: sriovoperatorconfigs
    singular: sriovoperatorconfig
  scope: Namespaced
  versions:
  - name: v1
    schema:
      openAPIV3Schema:
        description: SriovOperatorConfig is the Schema for the sriovoperatorconfigs
          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: SriovOperatorConfigSpec defines the desired state of SriovOperatorConfig
            properties:
              configDaemonNodeSelector:
                additionalProperties:
                  type: string
                description: NodeSelector selects the nodes to be configured
                type: object
              configurationMode:
                description: |-
                  Flag to enable the sriov-network-config-daemon to use a systemd service to configure SR-IOV devices on boot
                  Default mode: daemon
                enum:
                - daemon
                - systemd
                type: string
              disableDrain:
                description: Flag to disable nodes drain during debugging
                type: boolean
              disablePlugins:
                description: DisablePlugins is a list of sriov-network-config-daemon
                  plugins to disable
                items:
                  description: PluginNameValue defines the plugin name
                  enum:
                  - mellanox
                  type: string
                type: array
              enableInjector:
                description: Flag to control whether the network resource injector
                  webhook shall be deployed
                type: boolean
              enableOperatorWebhook:
                description: Flag to control whether the operator admission controller
                  webhook shall be deployed
                type: boolean
              enableOvsOffload:
                description: Flag to enable OVS hardware offload. Set to 'true' to
                  provision switchdev-configuration.service and enable OpenvSwitch
                  hw-offload on nodes.
                type: boolean
              featureGates:
                additionalProperties:
                  type: boolean
                description: FeatureGates to enable experimental features
                type: object
              logLevel:
                description: Flag to control the log verbose level of the operator.
                  Set to '0' to show only the basic logs. And set to '2' to show all
                  the available logs.
                maximum: 2
                minimum: 0
                type: integer
              useCDI:
                description: Flag to enable Container Device Interface mode for SR-IOV
                  Network Device Plugin
                type: boolean
            type: object
          status:
            description: SriovOperatorConfigStatus defines the observed state of SriovOperatorConfig
            properties:
              injector:
                description: Show the runtime status of the network resource injector
                  webhook
                type: string
              operatorWebhook:
                description: Show the runtime status of the operator admission controller
                  webhook
                type: string
            type: object
        type: object
    served: true
    storage: true
    subresources:
      status: {}
status:
  acceptedNames:
    kind: SriovOperatorConfig
    listKind: SriovOperatorConfigList
    plural: sriovoperatorconfigs
    singular: sriovoperatorconfig
  conditions:
  - lastTransitionTime: "2025-10-27T12:38:07Z"
    message: no conflicts found
    reason: NoConflicts
    status: "True"
    type: NamesAccepted
  - lastTransitionTime: "2025-10-27T12:38:07Z"
    message: the initial names have been accepted
    reason: InitialNamesAccepted
    status: "True"
    type: Established
  storedVersions:
  - v1
