Commit b931bb1
authored
fix(helm): fix invalid YAML syntax and nil pointer in values.yaml
Updated domainLabels to be an empty array.
Issue:
The ceph-csi-rbd helm chart fails to install with the default values.yaml due to two issues:
YAML Syntax Error: The domainLabels key was defined with both an empty list [] and nested list items, which is invalid YAML and causes a parsing error: error converting YAML to JSON: yaml: line 373: did not find expected key.
Template Nil Pointer: The readAffinity block was commented out by default. However, the nodeplugin-daemonset.yaml template attempts to access .Values.readAffinity.enabled without a conditional check, leading to a nil pointer evaluation error.
Changes:
Fixed domainLabels syntax by removing the [] and providing the labels as valid, commented-out examples.
Uncommented the readAffinity block and set enabled: false by default to ensure the Helm templates can render successfully.
Signed-off-by: Keshav Soni <102344018+KeshavSoni2511@users.noreply.github.com>1 parent 8b9bc61 commit b931bb1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
| 342 | + | |
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| |||
0 commit comments