Skip to content

Commit e0e6806

Browse files
authored
cicd: release Network Operator v26.1.0-beta.4 (#2068)
Created by the [*create-release-pr* job](https://github.com/Mellanox/network-operator/actions/runs/21290497774).
2 parents 72dbcf0 + 2ca5a3c commit e0e6806

17 files changed

+131
-71
lines changed

deployment/network-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
name: network-operator
3-
version: 26.1.0-beta.3
3+
version: 26.1.0-beta.4
44
kubeVersion: '>= 1.21.0'
5-
appVersion: v26.1.0-beta.3
5+
appVersion: v26.1.0-beta.4
66
description: Nvidia network operator
77
type: application
88
keywords:

deployment/network-operator/charts/node-feature-discovery/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ NFD.
175175
| master.extraArgs | list | `[]` | Additional [command line arguments](https://kubernetes-sigs.github.io/node-feature-discovery/master/reference/master-commandline-reference) to pass to nfd-master. |
176176
| master.extraEnvs | list | `[]` | Additional environment variables to set in the nfd-master container. |
177177
| master.hostNetwork | bool | `false` | Run the container in the host's network namespace. |
178+
| master.hostUsers | bool | `nil` | Run the container with host user ids. NOTE: if hostNetwork is true, hostUsers should be true. |
178179
| master.dnsPolicy | string | `"ClusterFirstWithHostNet"` | NFD master pod [dnsPolicy](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy). |
179180
| master.config | string | `nil` | NFD master [configuration](https://kubernetes-sigs.github.io/node-feature-discovery/master/reference/master-configuration-reference). |
180181
| master.port | int | `8080` | Port on which to serve http for metrics and healthz endpoints. |
@@ -231,6 +232,7 @@ NFD.
231232
| worker.extraArgs | list | `[]` | Additional [command line arguments](https://kubernetes-sigs.github.io/node-feature-discovery/master/reference/worker-commandline-reference) to pass to nfd-worker. |
232233
| worker.extraEnvs | list | `[]` | Additional environment variables to set in the nfd-worker container. |
233234
| worker.hostNetwork | bool | `false` | Run the container in the host's network namespace. |
235+
| worker.hostUsers | bool | `nil` | Run the container with host user ids. NOTE: if hostNetwork is true, hostUsers should be true. |
234236
| worker.dnsPolicy | string | `"ClusterFirstWithHostNet"` | NFD worker pod [dnsPolicy](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-policy). |
235237
| worker.config | string | `nil` | NFD worker [configuration](https://kubernetes-sigs.github.io/node-feature-discovery/master/reference/worker-configuration-reference). |
236238
| worker.port | int | `8080` | Port on which to serve http for metrics and healthz endpoints. |
@@ -277,6 +279,7 @@ NFD.
277279
| topologyUpdater.extraArgs | list | `[]` | Additional [command line arguments](https://kubernetes-sigs.github.io/node-feature-discovery/master/reference/topology-updater-commandline-reference) to pass to nfd-topology-updater. |
278280
| topologyUpdater.extraEnvs | list | `[]` | Additional environment variables to set in the nfd-topology-updater container. |
279281
| topologyUpdater.hostNetwork | bool | `false` | Run the container in the host's network namespace. |
282+
| topologyUpdater.hostUsers | bool | `nil` | Run the container with host user ids. NOTE: if hostNetwork is true, hostUsers should be true. |
280283
| topologyUpdater.dnsPolicy | string | `"ClusterFirstWithHostNet"` | NFD topology updater pod [dnsPolicy](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-policy). |
281284
| topologyUpdater.serviceAccount.create | bool | `true` | Specifies whether a service account should be created. |
282285
| topologyUpdater.serviceAccount.annotations | object | `{}` | [Annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations) to add to the service account. |
@@ -323,6 +326,7 @@ NFD.
323326
| gc.extraArgs | list | `[]` | Additional [command line arguments](https://kubernetes-sigs.github.io/node-feature-discovery/master/reference/gc-commandline-reference) to pass to nfd-gc. |
324327
| gc.extraEnvs | list | `[]` | Additional environment variables to set in the nfd-gc container. |
325328
| gc.hostNetwork | bool | `false` | Run the container in the host's network namespace. |
329+
| gc.hostUsers | bool | `nil` | Run the container with host user ids. NOTE: if hostNetwork is true, hostUsers should be true. |
326330
| gc.replicaCount | int | `1` | The number of desired replicas for the nfd-gc Deployment. |
327331
| gc.dnsPolicy | string | `"ClusterFirstWithHostNet"` | NFD gc pod [dnsPolicy](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-policy). |
328332
| gc.serviceAccount.create | bool | `true` | Specifies whether a service account should be created. |

deployment/network-operator/charts/node-feature-discovery/templates/master.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ spec:
4242
securityContext:
4343
{{- toYaml .Values.master.podSecurityContext | nindent 8 }}
4444
hostNetwork: {{ .Values.master.hostNetwork }}
45+
{{- if kindIs "bool" .Values.master.hostUsers }}
46+
hostUsers: {{ .Values.master.hostUsers }}
47+
{{- end }}
4548
containers:
4649
- name: master
4750
securityContext:

deployment/network-operator/charts/node-feature-discovery/templates/nfd-gc.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ spec:
4040
securityContext:
4141
{{- toYaml .Values.gc.podSecurityContext | nindent 8 }}
4242
hostNetwork: {{ .Values.gc.hostNetwork }}
43+
{{- if kindIs "bool" .Values.gc.hostUsers }}
44+
hostUsers: {{ .Values.gc.hostUsers }}
45+
{{- end }}
4346
containers:
4447
- name: gc
4548
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"

deployment/network-operator/charts/node-feature-discovery/templates/topologyupdater.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ spec:
4040
securityContext:
4141
{{- toYaml .Values.topologyUpdater.podSecurityContext | nindent 8 }}
4242
hostNetwork: {{ .Values.topologyUpdater.hostNetwork }}
43+
{{- if kindIs "bool" .Values.topologyUpdater.hostUsers }}
44+
hostUsers: {{ .Values.topologyUpdater.hostUsers }}
45+
{{- end }}
4346
containers:
4447
- name: topology-updater
4548
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"

deployment/network-operator/charts/node-feature-discovery/templates/worker.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ spec:
4444
securityContext:
4545
{{- toYaml .Values.worker.podSecurityContext | nindent 8 }}
4646
hostNetwork: {{ .Values.worker.hostNetwork }}
47+
{{- if kindIs "bool" .Values.worker.hostUsers }}
48+
hostUsers: {{ .Values.worker.hostUsers }}
49+
{{- end }}
4750
containers:
4851
- name: worker
4952
securityContext:

deployment/network-operator/charts/node-feature-discovery/values.schema.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@
5555
"description": "Run the container in the host's network namespace.",
5656
"type": "boolean"
5757
},
58+
"hostUsers": {
59+
"description": "Run the container with host user ids. NOTE: if hostNetwork is true, hostUsers should be true.",
60+
"type": [
61+
"boolean",
62+
"null"
63+
]
64+
},
5865
"interval": {
5966
"description": "Time between periodic garbage collector runs.",
6067
"type": "string"
@@ -353,6 +360,13 @@
353360
"description": "Run the container in the host's network namespace.",
354361
"type": "boolean"
355362
},
363+
"hostUsers": {
364+
"description": "Run the container with host user ids. NOTE: if hostNetwork is true, hostUsers should be true.",
365+
"type": [
366+
"boolean",
367+
"null"
368+
]
369+
},
356370
"instance": {
357371
"description": "Instance name. Used to separate annotation namespaces for multiple parallel deployments.",
358372
"type": [
@@ -695,6 +709,13 @@
695709
"description": "Run the container in the host's network namespace.",
696710
"type": "boolean"
697711
},
712+
"hostUsers": {
713+
"description": "Run the container with host user ids. NOTE: if hostNetwork is true, hostUsers should be true.",
714+
"type": [
715+
"boolean",
716+
"null"
717+
]
718+
},
698719
"kubeletConfigPath": {
699720
"description": "Host path for the kubelet config file.",
700721
"type": [
@@ -953,6 +974,13 @@
953974
"description": "Run the container in the host's network namespace.",
954975
"type": "boolean"
955976
},
977+
"hostUsers": {
978+
"description": "Run the container with host user ids. NOTE: if hostNetwork is true, hostUsers should be true.",
979+
"type": [
980+
"boolean",
981+
"null"
982+
]
983+
},
956984
"labels": {
957985
"description": "[Labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) to add to the nfd-worker pods.",
958986
"$ref": "#/$defs/_definitions.json/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta/properties/labels",

deployment/network-operator/charts/node-feature-discovery/values.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ master:
6565
# -- Run the container in the host's network namespace.
6666
# @section -- NFD-Master
6767
hostNetwork: false
68+
# @schema type: [boolean, null]
69+
# -- (bool) Run the container with host user ids. NOTE: if hostNetwork is true, hostUsers should be true.
70+
# @section -- NFD-Master
71+
hostUsers: ~ # @schema type: [boolean, null]
6872
# @enum: [Default, ClusterFirst, ClusterFirstWithHostNet, None]
6973
# -- NFD master pod [dnsPolicy](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy).
7074
# @section -- NFD-Master
@@ -370,6 +374,10 @@ worker:
370374
# -- Run the container in the host's network namespace.
371375
# @section -- NFD-Worker
372376
hostNetwork: false
377+
# @schema type: [boolean, null]
378+
# -- (bool) Run the container with host user ids. NOTE: if hostNetwork is true, hostUsers should be true.
379+
# @section -- NFD-Worker
380+
hostUsers: ~ # @schema type: [boolean, null]
373381
# @enum: [Default, ClusterFirst, ClusterFirstWithHostNet, None]
374382
# -- NFD worker pod [dnsPolicy](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-policy).
375383
# @section -- NFD-Worker
@@ -824,6 +832,10 @@ topologyUpdater:
824832
# -- Run the container in the host's network namespace.
825833
# @section -- NFD-Topology-Updater
826834
hostNetwork: false
835+
# @schema type: [boolean, null]
836+
# -- (bool) Run the container with host user ids. NOTE: if hostNetwork is true, hostUsers should be true.
837+
# @section -- NFD-Topology-Updater
838+
hostUsers: ~ # @schema type: [boolean, null]
827839
# @enum: [Default, ClusterFirst, ClusterFirstWithHostNet, None]
828840
# -- NFD topology updater pod [dnsPolicy](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-policy).
829841
# @section -- NFD-Topology-Updater
@@ -1020,6 +1032,10 @@ gc:
10201032
# -- Run the container in the host's network namespace.
10211033
# @section -- NFD-GC
10221034
hostNetwork: false
1035+
# @schema type: [boolean, null]
1036+
# -- (bool) Run the container with host user ids. NOTE: if hostNetwork is true, hostUsers should be true.
1037+
# @section -- NFD-GC
1038+
hostUsers: ~ # @schema type: [boolean, null]
10231039
# -- The number of desired replicas for the nfd-gc Deployment.
10241040
# @section -- NFD-GC
10251041
replicaCount: 1

deployment/network-operator/values.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ node-feature-discovery:
4545

4646
image:
4747
repository: nvcr.io/nvstaging/mellanox/node-feature-discovery
48-
tag: network-operator-v26.1.0-beta.3
48+
tag: network-operator-v26.1.0-beta.4
4949
pullPolicy: IfNotPresent
5050
# imagePullSecrest for node-feature-discovery Network Operator related images
5151
#imagePullSecrets: []
@@ -157,15 +157,15 @@ sriov-network-operator:
157157

158158
# Image URIs for sriov-network-operator components.
159159
images:
160-
operator: nvcr.io/nvstaging/mellanox/sriov-network-operator:network-operator-v26.1.0-beta.3
161-
sriovConfigDaemon: nvcr.io/nvstaging/mellanox/sriov-network-operator-config-daemon:network-operator-v26.1.0-beta.3
162-
sriovCni: nvcr.io/nvstaging/mellanox/sriov-cni:network-operator-v26.1.0-beta.3
163-
ibSriovCni: nvcr.io/nvstaging/mellanox/ib-sriov-cni:network-operator-v26.1.0-beta.3
164-
ovsCni: nvcr.io/nvstaging/mellanox/ovs-cni-plugin:network-operator-v26.1.0-beta.3
165-
rdmaCni: nvcr.io/nvstaging/mellanox/rdma-cni:network-operator-v26.1.0-beta.3
166-
sriovDevicePlugin: nvcr.io/nvstaging/mellanox/sriov-network-device-plugin:network-operator-v26.1.0-beta.3
160+
operator: nvcr.io/nvstaging/mellanox/sriov-network-operator:network-operator-v26.1.0-beta.4
161+
sriovConfigDaemon: nvcr.io/nvstaging/mellanox/sriov-network-operator-config-daemon:network-operator-v26.1.0-beta.4
162+
sriovCni: nvcr.io/nvstaging/mellanox/sriov-cni:network-operator-v26.1.0-beta.4
163+
ibSriovCni: nvcr.io/nvstaging/mellanox/ib-sriov-cni:network-operator-v26.1.0-beta.4
164+
ovsCni: nvcr.io/nvstaging/mellanox/ovs-cni-plugin:network-operator-v26.1.0-beta.4
165+
rdmaCni: nvcr.io/nvstaging/mellanox/rdma-cni:network-operator-v26.1.0-beta.4
166+
sriovDevicePlugin: nvcr.io/nvstaging/mellanox/sriov-network-device-plugin:network-operator-v26.1.0-beta.4
167167
resourcesInjector: ghcr.io/k8snetworkplumbingwg/network-resources-injector:v1.7.0
168-
webhook: nvcr.io/nvstaging/mellanox/sriov-network-operator-webhook:network-operator-v26.1.0-beta.3
168+
webhook: nvcr.io/nvstaging/mellanox/sriov-network-operator-webhook:network-operator-v26.1.0-beta.4
169169
# imagePullSecrest for SR-IOV Network Operator related images
170170
# imagePullSecrets: []
171171
sriovOperatorConfig:
@@ -193,7 +193,7 @@ maintenance-operator-chart:
193193
image:
194194
repository: nvcr.io/nvstaging/mellanox
195195
name: maintenance-operator
196-
tag: network-operator-v26.1.0-beta.3
196+
tag: network-operator-v26.1.0-beta.4
197197
admissionController:
198198
# -- enable admission controller of the operator
199199
enable: false
@@ -319,7 +319,7 @@ operator:
319319
# -- Init container image name.
320320
image: network-operator-init-container
321321
# -- Init container image version.
322-
version: network-operator-v26.1.0-beta.3
322+
version: network-operator-v26.1.0-beta.4
323323

324324
# -- An optional list of references to secrets to use for pulling any of the
325325
# Network Operator images.

example/crs/mellanox.com_v1alpha1_nicclusterpolicy_cr-full-ocp.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ spec:
4545
rdmaSharedDevicePlugin:
4646
image: k8s-rdma-shared-dev-plugin
4747
repository: nvcr.io/nvstaging/mellanox
48-
version: network-operator-v26.1.0-beta.3
48+
version: network-operator-v26.1.0-beta.4
4949
# The config below directly propagates to k8s-rdma-shared-device-plugin configuration.
5050
# Replace 'devices' with your (RDMA capable) netdevice name.
5151
config: |
@@ -64,7 +64,7 @@ spec:
6464
sriovDevicePlugin:
6565
image: sriov-network-device-plugin
6666
repository: nvcr.io/nvstaging/mellanox
67-
version: network-operator-v26.1.0-beta.3
67+
version: network-operator-v26.1.0-beta.4
6868
config: |
6969
{
7070
"resourceList": [
@@ -82,32 +82,32 @@ spec:
8282
ipoib:
8383
image: ipoib-cni
8484
repository: nvcr.io/nvstaging/mellanox
85-
version: network-operator-v26.1.0-beta.3
85+
version: network-operator-v26.1.0-beta.4
8686
nvIpam:
8787
image: nvidia-k8s-ipam
8888
repository: nvcr.io/nvstaging/mellanox
89-
version: network-operator-v26.1.0-beta.3
89+
version: network-operator-v26.1.0-beta.4
9090
enableWebhook: false
9191
ibKubernetes:
9292
image: ib-kubernetes
9393
repository: nvcr.io/nvstaging/mellanox
94-
version: network-operator-v26.1.0-beta.3
94+
version: network-operator-v26.1.0-beta.4
9595
pKeyGUIDPoolRangeStart: "02:00:00:00:00:00:00:00"
9696
pKeyGUIDPoolRangeEnd: "02:FF:FF:FF:FF:FF:FF:FF"
9797
ufmSecret: ufm-secret
9898
nicFeatureDiscovery:
9999
image: nic-feature-discovery
100100
repository: nvcr.io/nvstaging/mellanox
101-
version: network-operator-v26.1.0-beta.3
101+
version: network-operator-v26.1.0-beta.4
102102
nicConfigurationOperator:
103103
operator:
104104
image: nic-configuration-operator
105105
repository: nvcr.io/nvstaging/mellanox
106-
version: network-operator-v26.1.0-beta.3
106+
version: network-operator-v26.1.0-beta.4
107107
configurationDaemon:
108108
image: nic-configuration-operator-daemon
109109
repository: nvcr.io/nvstaging/mellanox
110-
version: network-operator-v26.1.0-beta.3
110+
version: network-operator-v26.1.0-beta.4
111111
# Uncomment to explicitely reset the NIC's Firmware before the reboot and after updating its non-volatile configuration.
112112
# Might be required on DGX servers where configuration update is not successfully applied after the warm reboot.
113113
# env:

0 commit comments

Comments
 (0)