Skip to content

Commit 5b347b6

Browse files
author
robot
committed
robot: project gpu-operator chart upgrades from v25.3.0 to v25.10.0
Signed-off-by: robot <[email protected]>
1 parent 5af805a commit 5b347b6

26 files changed

+436
-277
lines changed

charts/gpu-operator/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export USE_OPENSOURCE_CHART=false
33
export REPO_URL=https://helm.ngc.nvidia.com/nvidia
44
export REPO_NAME=nvidia
55
export CHART_NAME=gpu-operator
6-
export VERSION=v25.3.0
6+
export VERSION=v25.10.0
77

88
# pr, issue, none
99
export UPGRADE_METHOD=pr

charts/gpu-operator/gpu-operator/Chart.yaml

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: node-feature-discovery
33
repository: https://kubernetes-sigs.github.io/node-feature-discovery/charts
4-
version: 0.17.2
5-
digest: sha256:4c55d30d958027ef8997a2976449326de3c90049025c3ebb9bee017cad32cc3f
6-
generated: "2025-02-25T09:08:49.128088-08:00"
4+
version: 0.18.2
5+
digest: sha256:38080b652a47ca788bba2ee5bf2fb34311a290645e80b942da12ea22d61fafb2
6+
generated: "2025-10-21T11:59:40.12235-07:00"

charts/gpu-operator/gpu-operator/charts/gpu-operator/Chart.yaml

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
apiVersion: v2
2-
appVersion: v0.17.2
2+
appVersion: v0.18.2
33
description: 'Detects hardware features available on each node in a Kubernetes cluster,
44
and advertises those features using node labels. '
55
home: https://github.com/kubernetes-sigs/node-feature-discovery
6+
icon: https://kubernetes-sigs.github.io/node-feature-discovery/v0.18/assets/images/nfd/favicon.svg
67
keywords:
78
- feature-discovery
89
- feature-detection
@@ -11,4 +12,4 @@ name: node-feature-discovery
1112
sources:
1213
- https://github.com/kubernetes-sigs/node-feature-discovery
1314
type: application
14-
version: 0.17.2
15+
version: 0.18.2

charts/gpu-operator/gpu-operator/charts/gpu-operator/charts/node-feature-discovery/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ labels. NFD provides flexible configuration and extension points for a wide
66
range of vendor and application specific node labeling needs.
77

88
See
9-
[NFD documentation](https://kubernetes-sigs.github.io/node-feature-discovery/v0.17/deployment/helm.html)
9+
[NFD documentation](https://kubernetes-sigs.github.io/node-feature-discovery/v0.18/deployment/helm.html)
1010
for deployment instructions.

charts/gpu-operator/gpu-operator/charts/gpu-operator/charts/node-feature-discovery/crds/nfd-api-crds.yaml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,19 @@ spec:
204204
- Exists
205205
- DoesNotExist
206206
- Gt
207+
- Ge
207208
- Lt
209+
- Le
208210
- GtLt
211+
- GeLe
209212
- IsTrue
210213
- IsFalse
211214
type: string
215+
type:
216+
description: |-
217+
Type defines the value type for specific operators.
218+
The currently supported type is 'version' for Gt,Ge,Lt,Le,GtLt,GeLe operators.
219+
type: string
212220
value:
213221
description: |-
214222
Value is the list of values that the operand evaluates the input
@@ -240,11 +248,19 @@ spec:
240248
- Exists
241249
- DoesNotExist
242250
- Gt
251+
- Ge
243252
- Lt
253+
- Le
244254
- GtLt
255+
- GeLe
245256
- IsTrue
246257
- IsFalse
247258
type: string
259+
type:
260+
description: |-
261+
Type defines the value type for specific operators.
262+
The currently supported type is 'version' for Gt,Ge,Lt,Le,GtLt,GeLe operators.
263+
type: string
248264
value:
249265
description: |-
250266
Value is the list of values that the operand evaluates the input
@@ -295,11 +311,19 @@ spec:
295311
- Exists
296312
- DoesNotExist
297313
- Gt
314+
- Ge
298315
- Lt
316+
- Le
299317
- GtLt
318+
- GeLe
300319
- IsTrue
301320
- IsFalse
302321
type: string
322+
type:
323+
description: |-
324+
Type defines the value type for specific operators.
325+
The currently supported type is 'version' for Gt,Ge,Lt,Le,GtLt,GeLe operators.
326+
type: string
303327
value:
304328
description: |-
305329
Value is the list of values that the operand evaluates the input
@@ -331,11 +355,19 @@ spec:
331355
- Exists
332356
- DoesNotExist
333357
- Gt
358+
- Ge
334359
- Lt
360+
- Le
335361
- GtLt
362+
- GeLe
336363
- IsTrue
337364
- IsFalse
338365
type: string
366+
type:
367+
description: |-
368+
Type defines the value type for specific operators.
369+
The currently supported type is 'version' for Gt,Ge,Lt,Le,GtLt,GeLe operators.
370+
type: string
339371
value:
340372
description: |-
341373
Value is the list of values that the operand evaluates the input
@@ -356,6 +388,19 @@ spec:
356388
name:
357389
description: Name of the rule.
358390
type: string
391+
vars:
392+
additionalProperties:
393+
type: string
394+
description: |-
395+
Vars is the variables to store if the rule matches. Variables can be
396+
referenced from other rules enabling more complex rule hierarchies.
397+
type: object
398+
varsTemplate:
399+
description: |-
400+
VarsTemplate specifies a template to expand for dynamically generating
401+
multiple variables. Data (after template expansion) must be keys with an
402+
optional value (<key>[=<value>]) separated by newlines.
403+
type: string
359404
required:
360405
- name
361406
type: object
@@ -498,11 +543,19 @@ spec:
498543
- Exists
499544
- DoesNotExist
500545
- Gt
546+
- Ge
501547
- Lt
548+
- Le
502549
- GtLt
550+
- GeLe
503551
- IsTrue
504552
- IsFalse
505553
type: string
554+
type:
555+
description: |-
556+
Type defines the value type for specific operators.
557+
The currently supported type is 'version' for Gt,Ge,Lt,Le,GtLt,GeLe operators.
558+
type: string
506559
value:
507560
description: |-
508561
Value is the list of values that the operand evaluates the input
@@ -534,11 +587,19 @@ spec:
534587
- Exists
535588
- DoesNotExist
536589
- Gt
590+
- Ge
537591
- Lt
592+
- Le
538593
- GtLt
594+
- GeLe
539595
- IsTrue
540596
- IsFalse
541597
type: string
598+
type:
599+
description: |-
600+
Type defines the value type for specific operators.
601+
The currently supported type is 'version' for Gt,Ge,Lt,Le,GtLt,GeLe operators.
602+
type: string
542603
value:
543604
description: |-
544605
Value is the list of values that the operand evaluates the input
@@ -589,11 +650,19 @@ spec:
589650
- Exists
590651
- DoesNotExist
591652
- Gt
653+
- Ge
592654
- Lt
655+
- Le
593656
- GtLt
657+
- GeLe
594658
- IsTrue
595659
- IsFalse
596660
type: string
661+
type:
662+
description: |-
663+
Type defines the value type for specific operators.
664+
The currently supported type is 'version' for Gt,Ge,Lt,Le,GtLt,GeLe operators.
665+
type: string
597666
value:
598667
description: |-
599668
Value is the list of values that the operand evaluates the input
@@ -625,11 +694,19 @@ spec:
625694
- Exists
626695
- DoesNotExist
627696
- Gt
697+
- Ge
628698
- Lt
699+
- Le
629700
- GtLt
701+
- GeLe
630702
- IsTrue
631703
- IsFalse
632704
type: string
705+
type:
706+
description: |-
707+
Type defines the value type for specific operators.
708+
The currently supported type is 'version' for Gt,Ge,Lt,Le,GtLt,GeLe operators.
709+
type: string
633710
value:
634711
description: |-
635712
Value is the list of values that the operand evaluates the input

charts/gpu-operator/gpu-operator/charts/gpu-operator/charts/node-feature-discovery/templates/_helpers.tpl

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,22 @@ Create the name of the service account which nfd-gc will use
105105
{{ default "default" .Values.gc.serviceAccount.name }}
106106
{{- end -}}
107107
{{- end -}}
108+
109+
{{/*
110+
imagePullSecrets helper - uses local values or falls back to global values
111+
*/}}
112+
{{- define "node-feature-discovery.imagePullSecrets" -}}
113+
{{- $imagePullSecrets := list -}}
114+
{{- if .Values.imagePullSecrets -}}
115+
{{- range .Values.imagePullSecrets -}}
116+
{{- $imagePullSecrets = append $imagePullSecrets . -}}
117+
{{- end -}}
118+
{{- else if and .Values.global .Values.global.imagePullSecrets -}}
119+
{{- range .Values.global.imagePullSecrets -}}
120+
{{- $imagePullSecrets = append $imagePullSecrets . -}}
121+
{{- end -}}
122+
{{- end -}}
123+
{{- if $imagePullSecrets -}}
124+
{{- $imagePullSecrets | toJson }}
125+
{{- end -}}
126+
{{- end -}}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{{- if .Values.master.enable }}
2+
{{- if .Values.master.podDisruptionBudget.enable -}}
3+
apiVersion: policy/v1
4+
kind: PodDisruptionBudget
5+
metadata:
6+
name: {{ include "node-feature-discovery.fullname" . }}-master
7+
namespace: {{ include "node-feature-discovery.namespace" . }}
8+
labels:
9+
{{- include "node-feature-discovery.labels" . | nindent 4 }}
10+
spec:
11+
selector:
12+
matchLabels:
13+
{{- include "node-feature-discovery.selectorLabels" . | nindent 6 }}
14+
role: master
15+
{{- toYaml (omit .Values.master.podDisruptionBudget "enable") | nindent 2 }}
16+
{{- end }}
17+
{{- end }}

charts/gpu-operator/gpu-operator/charts/gpu-operator/charts/node-feature-discovery/templates/master.yaml

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,11 @@ spec:
2929
{{- toYaml . | nindent 8 }}
3030
{{- end }}
3131
spec:
32+
dnsPolicy: {{ .Values.master.dnsPolicy }}
3233
{{- with .Values.priorityClassName }}
3334
priorityClassName: {{ . }}
3435
{{- end }}
35-
{{- with .Values.imagePullSecrets }}
36-
imagePullSecrets:
37-
{{- toYaml . | nindent 8 }}
38-
{{- end }}
36+
imagePullSecrets: {{ include "node-feature-discovery.imagePullSecrets" . }}
3937
serviceAccountName: {{ include "node-feature-discovery.master.serviceAccountName" . }}
4038
enableServiceLinks: false
4139
securityContext:
@@ -48,8 +46,9 @@ spec:
4846
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
4947
imagePullPolicy: {{ .Values.image.pullPolicy }}
5048
startupProbe:
51-
grpc:
52-
port: {{ .Values.master.healthPort | default "8082" }}
49+
httpGet:
50+
path: /healthz
51+
port: http
5352
{{- with .Values.master.startupProbe.initialDelaySeconds }}
5453
initialDelaySeconds: {{ . }}
5554
{{- end }}
@@ -63,8 +62,9 @@ spec:
6362
timeoutSeconds: {{ . }}
6463
{{- end }}
6564
livenessProbe:
66-
grpc:
67-
port: {{ .Values.master.healthPort | default "8082" }}
65+
httpGet:
66+
path: /healthz
67+
port: http
6868
{{- with .Values.master.livenessProbe.initialDelaySeconds }}
6969
initialDelaySeconds: {{ . }}
7070
{{- end }}
@@ -78,8 +78,9 @@ spec:
7878
timeoutSeconds: {{ . }}
7979
{{- end }}
8080
readinessProbe:
81-
grpc:
82-
port: {{ .Values.master.healthPort | default "8082" }}
81+
httpGet:
82+
path: /healthz
83+
port: http
8384
{{- with .Values.master.readinessProbe.initialDelaySeconds }}
8485
initialDelaySeconds: {{ . }}
8586
{{- end }}
@@ -96,17 +97,15 @@ spec:
9697
successThreshold: {{ . }}
9798
{{- end }}
9899
ports:
99-
- containerPort: {{ .Values.master.metricsPort | default "8081" }}
100-
name: metrics
101-
- containerPort: {{ .Values.master.healthPort | default "8082" }}
102-
name: health
100+
- containerPort: {{ .Values.master.port | default "8080" }}
101+
name: http
103102
env:
104103
- name: NODE_NAME
105104
valueFrom:
106105
fieldRef:
107106
fieldPath: spec.nodeName
108107
{{- with .Values.master.extraEnvs }}
109-
{{- toYaml . | nindent 8 }}
108+
{{- toYaml . | nindent 10 }}
110109
{{- end}}
111110
command:
112111
- "nfd-master"
@@ -126,9 +125,6 @@ spec:
126125
{{- if .Values.master.enableTaints }}
127126
- "-enable-taints"
128127
{{- end }}
129-
{{- if .Values.master.featureRulesController | kindIs "invalid" | not }}
130-
- "-featurerules-controller={{ .Values.master.featureRulesController }}"
131-
{{- end }}
132128
{{- if .Values.master.resyncPeriod }}
133129
- "-resync-period={{ .Values.master.resyncPeriod }}"
134130
{{- end }}
@@ -139,8 +135,7 @@ spec:
139135
{{- range $key, $value := .Values.featureGates }}
140136
- "-feature-gates={{ $key }}={{ $value }}"
141137
{{- end }}
142-
- "-metrics={{ .Values.master.metricsPort | default "8081" }}"
143-
- "-grpc-health={{ .Values.master.healthPort | default "8082" }}"
138+
- "-port={{ .Values.master.port | default "8080" }}"
144139
{{- with .Values.master.extraArgs }}
145140
{{- toYaml . | nindent 12 }}
146141
{{- end }}

0 commit comments

Comments
 (0)