From 14ef3eb412b208e1b9a5aa8c26ffeeee792a9bb3 Mon Sep 17 00:00:00 2001 From: Ivan Kolodiazhny Date: Tue, 24 Jan 2023 21:41:09 +0200 Subject: [PATCH] Deploy default SriovNetworkNodePolicy by helm chart The owner of SR-IOV Device Plugin daemonset is default policy so it will be deleted both with a defaut during helm uninstall procedure. Relates-Bug: #385 Signed-off-by: Ivan Kolodiazhny --- .../templates/sriovnetworknodepolicy.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 deployment/network-operator/charts/sriov-network-operator/templates/sriovnetworknodepolicy.yaml diff --git a/deployment/network-operator/charts/sriov-network-operator/templates/sriovnetworknodepolicy.yaml b/deployment/network-operator/charts/sriov-network-operator/templates/sriovnetworknodepolicy.yaml new file mode 100644 index 00000000..7f293403 --- /dev/null +++ b/deployment/network-operator/charts/sriov-network-operator/templates/sriovnetworknodepolicy.yaml @@ -0,0 +1,10 @@ +apiVersion: sriovnetwork.openshift.io/v1 +kind: SriovNetworkNodePolicy +metadata: + name: default + namespace: {{ .Release.Namespace }} +spec: + nicSelector: {} + nodeSelector: {} + numVfs: 0 + resourceName: ""