Skip to content

Conversation

@unai-ttxu
Copy link
Contributor

@unai-ttxu unai-ttxu commented Nov 25, 2024

Setting failOnInitError: true within Helm values cause an error due to missing quotes in FAIL_ON_INIT_ERROR environment variable after rendering the daemonset-device-plugin.yml template.

This was introduced in 6ed3c9f.

Since the boolean type is validated in the template, we can't set failOnInitError: "true" as a workaround. I think the only WA possible is setting this configuration via configmap, which the chart also supports but it'd be nice to be able to configure it through the failOnInitError value as well.

@copy-pr-bot
Copy link

copy-pr-bot bot commented Nov 25, 2024

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.

@unai-ttxu unai-ttxu changed the title Ensure FAIL_ON_INIT_ERROR boolean env is quoted Ensure `FAIL_ON_INIT_ERRORii boolean env is quoted Nov 25, 2024
@unai-ttxu unai-ttxu changed the title Ensure `FAIL_ON_INIT_ERRORii boolean env is quoted Ensure FAIL_ON_INIT_ERROR boolean env is quoted Nov 25, 2024
@unai-ttxu unai-ttxu force-pushed the task/fix_chart_boolean_quoting branch from e6273ac to 5d5ee79 Compare November 25, 2024 17:41
@elezar elezar force-pushed the task/fix_chart_boolean_quoting branch from 5d5ee79 to c999cec Compare November 29, 2024 10:58
@elezar elezar self-requested a review November 29, 2024 10:58
@elezar elezar self-assigned this Nov 29, 2024
@elezar
Copy link
Member

elezar commented Nov 29, 2024

/ok-to-test

@elezar elezar enabled auto-merge November 29, 2024 10:59
@elezar elezar merged commit 028a130 into NVIDIA:main Nov 29, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants