Skip to content

Add procMount to nodesets Helm template#2356

Open
t-chamb wants to merge 2 commits intonebius:mainfrom
t-chamb:fix/nodesets-helm-procmount
Open

Add procMount to nodesets Helm template#2356
t-chamb wants to merge 2 commits intonebius:mainfrom
t-chamb:fix/nodesets-helm-procmount

Conversation

@t-chamb
Copy link
Copy Markdown

@t-chamb t-chamb commented Mar 24, 2026

Add procMount passthrough to nodesets Helm template. The CRD supports it (#1980) but the Helm template omits it.

The NodeSet CRD supports procMount (added in nebius#1980) and the operator
renders it in the StatefulSet, but the nodesets Helm template does not
pass it through. This prevents Helm-based deployments from setting
procMount without manually patching the rendered CR.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds procMount passthrough support to the NodeSet Helm chart so users can set the container proc mount type via values, aligning the chart output with the CRD capabilities introduced in #1980.

Changes:

  • Document slurmd.security.procMount in helm/nodesets/values.yaml.
  • Template optional spec.slurmd.security.procMount into the rendered NodeSet manifest.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
helm/nodesets/values.yaml Documents the new procMount setting under nodesets[*].slurmd.security.
helm/nodesets/templates/nodeset.yaml Conditionally renders spec.slurmd.security.procMount when provided in values.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread helm/nodesets/values.yaml Outdated
limitsConfig: ""
# Proc mount type for the slurmd container
# Optional, valid values: "Default", "Unmasked"
# procMount: ""
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new values.yaml example suggests procMount: "", but the CRD enum doesn’t allow an empty string (and in this chart it would also be treated as “unset” and omitted). Consider changing the commented example to a valid value (e.g. "Default" or "Unmasked") so users don’t copy an ineffective/invalid setting.

Suggested change
# procMount: ""
# procMount: "Default"

Copilot uses AI. Check for mistakes.
Comment on lines +137 to +139
{{- with (get (.security | default dict) "procMount") }}
procMount: {{ . | quote }}
{{- end }}
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds spec.slurmd.security.procMount, but the NodeSet CRD also supports spec.munge.security.procMount (same enum). If the intent is full “procMount passthrough” for NodeSets, consider templating it for the munge container as well (and documenting it in values.yaml), otherwise it’s unclear why only slurmd is supported.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

helm Functional changes in Helm charts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants