Skip to content

Remove deprecated cdi.default from ClusterPolicy template#2263

Open
lexfrei wants to merge 1 commit intoNVIDIA:mainfrom
lexfrei:fix/remove-deprecated-cdi-default
Open

Remove deprecated cdi.default from ClusterPolicy template#2263
lexfrei wants to merge 1 commit intoNVIDIA:mainfrom
lexfrei:fix/remove-deprecated-cdi-default

Conversation

@lexfrei
Copy link
Copy Markdown

@lexfrei lexfrei commented Apr 2, 2026

What this PR does

Removes the dead conditional block for cdi.default from the ClusterPolicy Helm template.

The cdi.default field was removed from values.yaml when CDI was made the default device injection mechanism in v26.3.0 (cdi.enabled=true now automatically configures CDI as the default). The conditional block in the template was left behind:

{{- if .Values.cdi.default }}
default: {{ .Values.cdi.default }}
{{- end }}

Since cdi.default no longer exists in values.yaml, this block never renders and is dead code.

The cdi.default field was removed from values.yaml in v26.3.0 when CDI
was made the default device injection mechanism (cdi.enabled=true now
automatically configures CDI as the default). The conditional block in
the ClusterPolicy template was left behind and is now dead code.

Signed-off-by: Aleksei Sviridkin <f@lex.la>
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Apr 2, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant