From f679db4bcaff4397eafed734b43feb51a1aa7655 Mon Sep 17 00:00:00 2001 From: nvidia-ci-cd Date: Thu, 2 Jan 2025 21:11:57 +0000 Subject: [PATCH] Release Network Operator 25.1.0-beta.1 Signed-off-by: nvidia-ci-cd --- deployment/network-operator/Chart.yaml | 4 ++-- .../charts/sriov-network-operator/README.md | 5 +++++ .../sriov-network-operator/templates/clusterrole.yaml | 6 ------ .../templates/pre-delete-webooks.yaml | 2 +- .../charts/sriov-network-operator/templates/role.yaml | 11 ++++------- deployment/network-operator/values.yaml | 6 +++--- hack/release.yaml | 10 +++++----- 7 files changed, 20 insertions(+), 24 deletions(-) diff --git a/deployment/network-operator/Chart.yaml b/deployment/network-operator/Chart.yaml index 4efc6fad0..8b2e07210 100644 --- a/deployment/network-operator/Chart.yaml +++ b/deployment/network-operator/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 name: network-operator -version: 24.10.0 +version: 25.1.0-beta.1 kubeVersion: '>= 1.21.0' -appVersion: v24.10.0 +appVersion: v25.1.0-beta.1 description: Nvidia network operator type: application keywords: diff --git a/deployment/network-operator/charts/sriov-network-operator/README.md b/deployment/network-operator/charts/sriov-network-operator/README.md index a867613b2..d5d529dc9 100644 --- a/deployment/network-operator/charts/sriov-network-operator/README.md +++ b/deployment/network-operator/charts/sriov-network-operator/README.md @@ -135,6 +135,11 @@ This section contains general parameters that apply to both the operator and dae | `sriovOperatorConfig.configurationMode` | string | `daemon` | sriov-network-config-daemon configuration mode. either `daemon` or `systemd` | | `sriovOperatorConfig.featureGates` | map[string]bool | `{}` | feature gates to enable/disable | +**Note** + +When `sriovOperatorConfig.configurationMode` is configured as `systemd`, configurations files and `systemd` service files are created on the node. +Upon chart deletion, those files are not cleaned up. For cases where this is not acceptable, users should rather configured the `daemon` mode. + ### Images parameters | Name | description | diff --git a/deployment/network-operator/charts/sriov-network-operator/templates/clusterrole.yaml b/deployment/network-operator/charts/sriov-network-operator/templates/clusterrole.yaml index 7cd8fd014..519d2c05c 100644 --- a/deployment/network-operator/charts/sriov-network-operator/templates/clusterrole.yaml +++ b/deployment/network-operator/charts/sriov-network-operator/templates/clusterrole.yaml @@ -49,12 +49,6 @@ rules: - apiGroups: [""] resources: ["nodes"] verbs: ["get", "list", "watch", "patch", "update"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["*"] - - apiGroups: ["apps"] - resources: ["daemonsets"] - verbs: ["get"] - apiGroups: [ "config.openshift.io" ] resources: [ "infrastructures" ] verbs: [ "get", "list", "watch" ] diff --git a/deployment/network-operator/charts/sriov-network-operator/templates/pre-delete-webooks.yaml b/deployment/network-operator/charts/sriov-network-operator/templates/pre-delete-webooks.yaml index bbf527382..202275607 100644 --- a/deployment/network-operator/charts/sriov-network-operator/templates/pre-delete-webooks.yaml +++ b/deployment/network-operator/charts/sriov-network-operator/templates/pre-delete-webooks.yaml @@ -19,7 +19,7 @@ spec: {{- range .Values.imagePullSecrets }} - name: {{ . }} {{- end }} - {{- end }} + {{- end }} containers: - name: cleanup image: {{ .Values.images.operator }} diff --git a/deployment/network-operator/charts/sriov-network-operator/templates/role.yaml b/deployment/network-operator/charts/sriov-network-operator/templates/role.yaml index 6551b5775..56e5a5487 100644 --- a/deployment/network-operator/charts/sriov-network-operator/templates/role.yaml +++ b/deployment/network-operator/charts/sriov-network-operator/templates/role.yaml @@ -82,13 +82,10 @@ rules: resources: - pods verbs: - - '*' - - apiGroups: - - apps - resources: - - daemonsets - verbs: - - '*' + - "get" + - "list" + - "watch" + - "delete" - apiGroups: - sriovnetwork.openshift.io resources: diff --git a/deployment/network-operator/values.yaml b/deployment/network-operator/values.yaml index ce65cbb8a..9f7f1ac32 100644 --- a/deployment/network-operator/values.yaml +++ b/deployment/network-operator/values.yaml @@ -152,15 +152,15 @@ sriov-network-operator: # Image URIs for sriov-network-operator components. images: - operator: nvcr.io/nvstaging/mellanox/sriov-network-operator:network-operator-24.10.0 - sriovConfigDaemon: nvcr.io/nvstaging/mellanox/sriov-network-operator-config-daemon:network-operator-24.10.0 + operator: nvcr.io/nvstaging/mellanox/sriov-network-operator:network-operator-25.1.0-beta.1 + sriovConfigDaemon: nvcr.io/nvstaging/mellanox/sriov-network-operator-config-daemon:network-operator-25.1.0-beta.1 sriovCni: ghcr.io/k8snetworkplumbingwg/sriov-cni:v2.8.1 ibSriovCni: ghcr.io/k8snetworkplumbingwg/ib-sriov-cni:v1.1.1 ovsCni: ghcr.io/k8snetworkplumbingwg/ovs-cni-plugin:v0.37.0 # rdmaCni: ghcr.io/k8snetworkplumbingwg/rdma-cni:v1.2.0 sriovDevicePlugin: ghcr.io/k8snetworkplumbingwg/sriov-network-device-plugin:v3.8.0 resourcesInjector: ghcr.io/k8snetworkplumbingwg/network-resources-injector:8810e6a127366cc1eb829d3f7cb3f866d096946e - webhook: nvcr.io/nvstaging/mellanox/sriov-network-operator-webhook:network-operator-24.10.0 + webhook: nvcr.io/nvstaging/mellanox/sriov-network-operator-webhook:network-operator-25.1.0-beta.1 # imagePullSecrest for SR-IOV Network Operator related images # imagePullSecrets: [] sriovOperatorConfig: diff --git a/hack/release.yaml b/hack/release.yaml index a8383419f..06cec1428 100644 --- a/hack/release.yaml +++ b/hack/release.yaml @@ -1,7 +1,7 @@ NetworkOperator: image: network-operator repository: nvcr.io/nvstaging/mellanox - version: v24.10.0 + version: v25.1.0-beta.1 NetworkOperatorInitContainer: image: network-operator-init-container repository: ghcr.io/mellanox @@ -9,15 +9,15 @@ NetworkOperatorInitContainer: SriovNetworkOperator: image: sriov-network-operator repository: nvcr.io/nvstaging/mellanox - version: network-operator-24.10.0 + version: network-operator-25.1.0-beta.1 SriovNetworkOperatorWebhook: image: sriov-network-operator-webhook repository: nvcr.io/nvstaging/mellanox - version: network-operator-24.10.0 + version: network-operator-25.1.0-beta.1 SriovConfigDaemon: image: sriov-network-operator-config-daemon repository: nvcr.io/nvstaging/mellanox - version: network-operator-24.10.0 + version: network-operator-25.1.0-beta.1 SriovCni: image: sriov-cni repository: ghcr.io/k8snetworkplumbingwg @@ -89,4 +89,4 @@ nicConfigurationConfigDaemon: maintenanceOperator: image: maintenance-operator repository: ghcr.io/mellanox - version: v0.1.1 + version: v0.1.1