diff --git a/manifests/4.7/image-references b/manifests/4.7/image-references deleted file mode 100644 index 5e2356cbb..000000000 --- a/manifests/4.7/image-references +++ /dev/null @@ -1,37 +0,0 @@ ---- -kind: ImageStream -apiVersion: image.openshift.io/v1 -spec: - tags: - - name: sriov-network-operator - from: - kind: DockerImage - name: quay.io/openshift/origin-sriov-network-operator:4.7 - - name: sriov-network-config-daemon - from: - kind: DockerImage - name: quay.io/openshift/origin-sriov-network-config-daemon:4.7 - - name: sriov-cni - from: - kind: DockerImage - name: quay.io/openshift/origin-sriov-cni:4.7 - - name: sriov-network-device-plugin - from: - kind: DockerImage - name: quay.io/openshift/origin-sriov-network-device-plugin:4.7 - - name: sriov-dp-admission-controller - from: - kind: DockerImage - name: quay.io/openshift/origin-sriov-dp-admission-controller:4.7 - - name: sriov-network-webhook - from: - kind: DockerImage - name: quay.io/openshift/origin-sriov-network-webhook:4.7 - - name: sriov-infiniband-cni - from: - kind: DockerImage - name: quay.io/openshift/origin-sriov-infiniband-cni:4.7 - - name: sriov-operator-must-gather - from: - kind: DockerImage - name: quay.io/openshift/origin-sriov-operator-must-gather:4.7 diff --git a/manifests/4.7/sriov-network-operator-sriovibnetworks_crd.yaml b/manifests/4.7/sriov-network-operator-sriovibnetworks_crd.yaml deleted file mode 100644 index 21e9e48be..000000000 --- a/manifests/4.7/sriov-network-operator-sriovibnetworks_crd.yaml +++ /dev/null @@ -1,73 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.3.0 - creationTimestamp: null - name: sriovibnetworks.sriovnetwork.openshift.io -spec: - group: sriovnetwork.openshift.io - names: - kind: SriovIBNetwork - listKind: SriovIBNetworkList - plural: sriovibnetworks - singular: sriovibnetwork - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - description: SriovIBNetwork is the Schema for the sriovibnetworks 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: SriovIBNetworkSpec defines the desired state of SriovIBNetwork - properties: - capabilities: - description: 'Capabilities to be configured for this network. Capabilities - supported: (infinibandGUID), e.g. ''{"infinibandGUID": true}''' - type: string - ipam: - description: IPAM configuration to be used for this network. - type: string - linkState: - description: VF link state (enable|disable|auto) - enum: - - auto - - enable - - disable - type: string - networkNamespace: - description: Namespace of the NetworkAttachmentDefinition custom resource - type: string - resourceName: - description: SRIOV Network device plugin endpoint resource name - type: string - required: - - resourceName - type: object - status: - description: SriovIBNetworkStatus defines the observed state of SriovIBNetwork - type: object - type: object - served: true - storage: true - subresources: - status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/manifests/4.7/sriov-network-operator-sriovnetwork.crd.yaml b/manifests/4.7/sriov-network-operator-sriovnetwork.crd.yaml deleted file mode 100644 index d69e56085..000000000 --- a/manifests/4.7/sriov-network-operator-sriovnetwork.crd.yaml +++ /dev/null @@ -1,109 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.3.0 - creationTimestamp: null - name: sriovnetworks.sriovnetwork.openshift.io -spec: - group: sriovnetwork.openshift.io - names: - kind: SriovNetwork - listKind: SriovNetworkList - plural: sriovnetworks - singular: sriovnetwork - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - description: SriovNetwork is the Schema for the sriovnetworks 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: SriovNetworkSpec defines the desired state of SriovNetwork - properties: - capabilities: - description: 'Capabilities to be configured for this network. Capabilities - supported: (mac|ips), e.g. ''{"mac": true}''' - type: string - ipam: - description: IPAM configuration to be used for this network. - type: string - linkState: - description: VF link state (enable|disable|auto) - enum: - - auto - - enable - - disable - type: string - maxTxRate: - description: Maximum tx rate, in Mbps, for the VF. Defaults to 0 (no - rate limiting) - minimum: 0 - type: integer - metaPlugins: - description: MetaPluginsConfig configuration to be used in order to - chain metaplugins to the sriov interface returned by the operator. - type: string - minTxRate: - description: Minimum tx rate, in Mbps, for the VF. Defaults to 0 (no - rate limiting). min_tx_rate should be <= max_tx_rate. - minimum: 0 - type: integer - networkNamespace: - description: Namespace of the NetworkAttachmentDefinition custom resource - type: string - resourceName: - description: SRIOV Network device plugin endpoint resource name - type: string - spoofChk: - description: VF spoof check, (on|off) - enum: - - "on" - - "off" - type: string - trust: - description: VF trust mode (on|off) - enum: - - "on" - - "off" - type: string - vlan: - description: VLAN ID to assign for the VF. Defaults to 0. - maximum: 4096 - minimum: 0 - type: integer - vlanQoS: - description: VLAN QoS ID to assign for the VF. Defaults to 0. - maximum: 7 - minimum: 0 - type: integer - required: - - resourceName - type: object - status: - description: SriovNetworkStatus defines the observed state of SriovNetwork - type: object - type: object - served: true - storage: true - subresources: - status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/manifests/4.7/sriov-network-operator-sriovnetworknodepolicy.crd.yaml b/manifests/4.7/sriov-network-operator-sriovnetworknodepolicy.crd.yaml deleted file mode 100644 index 315ea262a..000000000 --- a/manifests/4.7/sriov-network-operator-sriovnetworknodepolicy.crd.yaml +++ /dev/null @@ -1,131 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.3.0 - creationTimestamp: null - name: sriovnetworknodepolicies.sriovnetwork.openshift.io -spec: - group: sriovnetwork.openshift.io - names: - kind: SriovNetworkNodePolicy - listKind: SriovNetworkNodePolicyList - plural: sriovnetworknodepolicies - singular: sriovnetworknodepolicy - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - description: SriovNetworkNodePolicy is the Schema for the sriovnetworknodepolicies - 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: SriovNetworkNodePolicySpec defines the desired state of SriovNetworkNodePolicy - properties: - deviceType: - description: The driver type for configured VFs. Allowed value "netdevice", - "vfio-pci". Defaults to netdevice. - enum: - - netdevice - - vfio-pci - type: string - eSwitchMode: - description: NIC Device Mode. Allowed value "legacy","switchdev". - enum: - - legacy - - switchdev - type: string - isRdma: - description: RDMA mode. Defaults to false. - type: boolean - linkType: - description: NIC Link Type. Allowed value "eth", "ETH", "ib", and - "IB". - enum: - - eth - - ETH - - ib - - IB - type: string - mtu: - description: MTU of VF - minimum: 1 - type: integer - nicSelector: - description: NicSelector selects the NICs to be configured - properties: - deviceID: - description: The device hex code of SR-IoV device. Allowed value - "0d58", "1572", "158b", "1013", "1015", "1017", "101b". - type: string - netFilter: - description: Infrastructure Networking selection filter. Allowed - value "openstack/NetworkID:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" - type: string - pfNames: - description: Name of SR-IoV PF. - items: - type: string - type: array - rootDevices: - description: PCI address of SR-IoV PF. - items: - type: string - type: array - vendor: - description: The vendor hex code of SR-IoV device. Allowed value - "8086", "15b3". - type: string - type: object - nodeSelector: - additionalProperties: - type: string - description: NodeSelector selects the nodes to be configured - type: object - numVfs: - description: Number of VFs for each PF - minimum: 0 - type: integer - priority: - description: Priority of the policy, higher priority policies can - override lower ones. - maximum: 99 - minimum: 0 - type: integer - resourceName: - description: SRIOV Network device plugin endpoint resource name - type: string - required: - - nicSelector - - nodeSelector - - numVfs - - resourceName - type: object - status: - description: SriovNetworkNodePolicyStatus defines the observed state of - SriovNetworkNodePolicy - type: object - type: object - served: true - storage: true - subresources: - status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/manifests/4.7/sriov-network-operator-sriovnetworknodestate.crd.yaml b/manifests/4.7/sriov-network-operator-sriovnetworknodestate.crd.yaml deleted file mode 100644 index bae837947..000000000 --- a/manifests/4.7/sriov-network-operator-sriovnetworknodestate.crd.yaml +++ /dev/null @@ -1,153 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.3.0 - creationTimestamp: null - name: sriovnetworknodestates.sriovnetwork.openshift.io -spec: - group: sriovnetwork.openshift.io - names: - kind: SriovNetworkNodeState - listKind: SriovNetworkNodeStateList - plural: sriovnetworknodestates - singular: sriovnetworknodestate - scope: Namespaced - versions: - - name: v1 - schema: - openAPIV3Schema: - description: SriovNetworkNodeState is the Schema for the sriovnetworknodestates - 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: SriovNetworkNodeStateSpec defines the desired state of SriovNetworkNodeState - properties: - dpConfigVersion: - type: string - interfaces: - items: - properties: - eSwitchMode: - type: string - linkType: - type: string - mtu: - type: integer - name: - type: string - numVfs: - type: integer - pciAddress: - type: string - vfGroups: - items: - properties: - deviceType: - type: string - policyName: - type: string - resourceName: - type: string - vfRange: - type: string - type: object - type: array - required: - - pciAddress - type: object - type: array - type: object - status: - description: SriovNetworkNodeStateStatus defines the observed state of - SriovNetworkNodeState - properties: - interfaces: - items: - properties: - Vfs: - items: - properties: - Vlan: - type: integer - assigned: - type: string - deviceID: - type: string - driver: - type: string - mac: - type: string - mtu: - type: integer - name: - type: string - pciAddress: - type: string - vendor: - type: string - vfID: - type: integer - required: - - pciAddress - - vfID - type: object - type: array - deviceID: - type: string - driver: - type: string - eSwitchMode: - type: string - linkSpeed: - type: string - linkType: - type: string - mac: - type: string - mtu: - type: integer - name: - type: string - netFilter: - type: string - numVfs: - type: integer - pciAddress: - type: string - totalvfs: - type: integer - vendor: - type: string - required: - - pciAddress - type: object - type: array - lastSyncError: - type: string - syncStatus: - type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/manifests/4.7/sriov-network-operator-sriovoperatorconfig.crd.yaml b/manifests/4.7/sriov-network-operator-sriovoperatorconfig.crd.yaml deleted file mode 100644 index b3e360c89..000000000 --- a/manifests/4.7/sriov-network-operator-sriovoperatorconfig.crd.yaml +++ /dev/null @@ -1,89 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.3.0 - creationTimestamp: null - name: sriovoperatorconfigs.sriovnetwork.openshift.io -spec: - 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 - disableDrain: - description: Flag to disable nodes drain during debugging - type: boolean - 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 - 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 - 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: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/manifests/4.7/sriov-network-operator.v4.7.0.clusterserviceversion.yaml b/manifests/4.7/sriov-network-operator.v4.7.0.clusterserviceversion.yaml deleted file mode 100644 index ff2e2b32e..000000000 --- a/manifests/4.7/sriov-network-operator.v4.7.0.clusterserviceversion.yaml +++ /dev/null @@ -1,373 +0,0 @@ -apiVersion: operators.coreos.com/v1alpha1 -kind: ClusterServiceVersion -metadata: - name: sriov-network-operator.v4.7.0 - namespace: openshift-sriov-network-operator - annotations: - alm-examples: | - [ - { - "apiVersion": "sriovnetwork.openshift.io/v1", - "kind": "SriovOperatorConfig", - "metadata": { - "name": "default", - "namespace": "openshift-sriov-network-operator" - }, - "spec": { - "enableInjector": true, - "enableOperatorWebhook": true, - "logLevel": 2 - } - }, - { - "apiVersion": "sriovnetwork.openshift.io/v1", - "kind": "SriovNetworkNodePolicy", - "metadata": { - "name": "policy-1", - "namespace": "openshift-sriov-network-operator" - }, - "spec": { - "resourceName": "intelnics", - "nodeSelector": { - "feature.node.kubernetes.io/network-sriov.capable": "true" - }, - "priority": 99, - "mtu": 9000, - "numVfs": 6, - "nicSelector": { - "vendor": "8086", - "rootDevices": [ - "0000:01:00.1" - ], - "pfNames": [ - "eth1" - ] - }, - "deviceType": "vfio-pci" - } - }, - { - "apiVersion": "sriovnetwork.openshift.io/v1", - "kind": "SriovNetwork", - "metadata": { - "name": "example-sriovnetwork", - "namespace": "openshift-sriov-network-operator" - }, - "spec": { - "ipam": "{\n \"type\": \"host-local\",\n \"subnet\": \"10.56.217.0/24\",\n \"rangeStart\": \"10.56.217.171\",\n \"rangeEnd\": \"10.56.217.181\",\n \"routes\": [{\n \"dst\": \"0.0.0.0/0\"\n }],\n \"gateway\": \"10.56.217.1\"\n}\n", - "vlan": 0, - "spoofChk": "on", - "trust": "off", - "resourceName": "intelnics", - "networkNamespace": "default" - } - }, - { - "apiVersion": "sriovnetwork.openshift.io/v1", - "kind": "SriovIBNetwork", - "metadata": { - "name": "example-sriovibnetwork", - "namespace": "openshift-sriov-network-operator" - }, - "spec": { - "ipam": "{\n \"type\": \"host-local\",\n \"subnet\": \"10.56.217.0/24\",\n \"rangeStart\": \"10.56.217.171\",\n \"rangeEnd\": \"10.56.217.181\",\n \"routes\": [{\n \"dst\": \"0.0.0.0/0\"\n }],\n \"gateway\": \"10.56.217.1\"\n}\n", - "linkState": "auto", - "resourceName": "mellanoxnics", - "networkNamespace": "default" - } - }, - { - "apiVersion": "sriovnetwork.openshift.io/v1", - "kind": "SriovNetworkNodeState", - "metadata": { - "name": "minikube", - "namespace": "openshift-sriov-network-operator" - }, - "spec": { - "interfaces": [] - } - } - ] - certified: "false" - containerImage: quay.io/openshift/origin-sriov-network-operator:4.7 - createdAt: 2019/04/30 - olm.skipRange: ">=4.3.0-0 <4.7.0" - description: An operator for configuring SR-IOV components and initializing SRIOV network devices in Openshift cluster. - repository: https://github.com/k8snetworkplumbingwg/sriov-network-operator - support: Red Hat - capabilities: Basic Install - categories: Networking -spec: - apiservicedefinitions: {} - customresourcedefinitions: - owned: - - description: Represents an cluster-wide policy of configuring SR-IOV Operator - displayName: Sriov Operator Config - kind: SriovOperatorConfig - name: sriovoperatorconfigs.sriovnetwork.openshift.io - version: v1 - - description: Represents an policy of configuring SR-IOV components on nodes - displayName: Sriov Network - kind: SriovNetwork - name: sriovnetworks.sriovnetwork.openshift.io - version: v1 - - description: Represents an policy of configuring SR-IOV components on nodes - displayName: Sriov Network Node Policy - kind: SriovNetworkNodePolicy - name: sriovnetworknodepolicies.sriovnetwork.openshift.io - version: v1 - - description: Represents the state of SR-IOV network devices on a node - displayName: Sriov Network Node State - kind: SriovNetworkNodeState - name: sriovnetworknodestates.sriovnetwork.openshift.io - version: v1 - - description: Represents an policy of configuring SR-IOV IB network components on a node - displayName: Sriov IB Network - kind: SriovIBNetwork - name: sriovibnetworks.sriovnetwork.openshift.io - version: v1 - description: | - # SR-IOV Network Operator for Openshift - - ## Introduction - The sriov-network-operator is generally responsible for configuring the sriov components in a openshift cluster. - - ### Supported Features - * Initialize the SR-IOV NICs on nodes. - * provision SR-IOV device plugin on selected node. - * provision SR-IOV CNI plugin on selected nodes. - * manage configuration of SR-IOV device plugin. - * generate net-att-def CRs for SR-IOV CNI plugin. - - This operator has to run in namespace 'openshift-sriov-network-operator'. An Operator Group is also required to install this operator: - - ``` - $ oc create namespace openshift-sriov-network-operator - - $ oc create -f - <=4.3.0-0 <{MAJOR}.{MINOR}.0"' - replace: 'olm.skipRange: ">=4.3.0-0 <{FULL_VER}"' - - file: "sriov-network-operator.package.yaml" - update_list: - - search: "currentCSV: sriov-network-operator.v{MAJOR}.{MINOR}.0" - replace: "currentCSV: sriov-network-operator.{FULL_VER}" diff --git a/manifests/sriov-network-operator.package.yaml b/manifests/sriov-network-operator.package.yaml deleted file mode 100644 index 813044759..000000000 --- a/manifests/sriov-network-operator.package.yaml +++ /dev/null @@ -1,4 +0,0 @@ -packageName: sriov-network-operator -channels: -- name: "4.7" - currentCSV: sriov-network-operator.v4.7.0 diff --git a/must-gather/Dockerfile b/must-gather/Dockerfile deleted file mode 100644 index 4abf3e850..000000000 --- a/must-gather/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -FROM registry.svc.ci.openshift.org/openshift/release:golang-1.12 AS builder -WORKDIR /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator -COPY . . - -FROM quay.io/openshift/origin-must-gather:4.3.0 -COPY --from=builder /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/must-gather/collection-scripts/* /usr/bin/ - -ENTRYPOINT /usr/bin/gather diff --git a/must-gather/Dockerfile.rhel7 b/must-gather/Dockerfile.rhel7 deleted file mode 100644 index 253a25a5c..000000000 --- a/must-gather/Dockerfile.rhel7 +++ /dev/null @@ -1,10 +0,0 @@ -FROM registry.svc.ci.openshift.org/ocp/builder:rhel-8-golang-1.15-openshift-4.7 AS builder -WORKDIR /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator -COPY . . - -FROM registry.svc.ci.openshift.org/ocp/4.7:cli -LABEL io.k8s.display-name="sriov-network-operator-must-gather" \ - io.k8s.description="This is a sriov must-gather image that collectes sriov network operator related resources." -COPY --from=builder /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/must-gather/collection-scripts/* /usr/bin/ - -ENTRYPOINT /usr/bin/gather diff --git a/must-gather/collection-scripts/gather b/must-gather/collection-scripts/gather deleted file mode 100755 index 6f5f9eb3f..000000000 --- a/must-gather/collection-scripts/gather +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -# resource list -resources=() - -# sriov network operator namespace -resources+=(ns/openshift-sriov-network-operator) - -# openshift multus namespace -resources+=(ns/openshift-multus) - -# other sriov network operator related namespaces -resources+=(ns/openshift-marketplace) - -# sriovnetwork.openshift.io -resources+=(sriovnetworknodepolicies sriovnetworknodestates sriovnetworks sriovoperatorconfigs sriovibnetworks) - -# net-attch-def -resources+=(network-attachment-definitions) - -# machine/node resources -resources+=(nodes machineconfigs machineconfigpools featuregates kubeletconfigs) - -# run the collection of resources using must-gather -for resource in ${resources[@]}; do - oc adm inspect --dest-dir must-gather --all-namespaces ${resource} -done - -exit 0