feat(helm): add node-data-broker ConfigMap mounts#347
Conversation
Greptile SummaryThis PR adds a
Confidence Score: 5/5Safe to merge — the missing ConfigMap template identified in the previous review is now present, the naming helpers are consistent between the ConfigMap and DaemonSet volume references, and all chart-test assertions should pass. The configmap-mounts.yaml template correctly creates one ConfigMap per entry, the DaemonSet consistently references those ConfigMaps by the same generated names, the enabled guard is applied in both templates, and the chart test exercises the full rendering path including data content, mountPath, and subPath. No files require special attention. The configmap-mounts.yaml data-block rendering uses a hand-rolled indent-4 approach rather than the more common nindent pattern, but it produces correct YAML for all documented use cases. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[values.yaml\nconfigMapMounts list] --> B{enabled AND\nconfigMapMounts non-empty?}
B -- Yes --> C[configmap-mounts.yaml\nrange over configMapMounts]
C --> D[Render ConfigMap per entry\nname via configMapMountName helper\ndata keys rendered as block scalars]
B -- No --> E[No ConfigMaps rendered]
A --> F{daemonset.yaml\nenabled?}
F -- Yes --> G[DaemonSet spec]
G --> H{configMapMounts or\nvolumeMounts set?}
H -- Yes --> I[volumeMounts in init container\nvolumeMounts in main container]
H -- No --> J[No volumeMounts block]
G --> K{configMapMounts or\nvolumes set?}
K -- Yes --> L[Pod volumes\nconfigMap.name via configMapMountName\nvolumeName via configMapMountVolumeName]
K -- No --> M[No volumes block]
D -.->|names match| L
Reviews (2): Last reviewed commit: "feat(helm): add node-data-broker ConfigM..." | Re-trigger Greptile |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #347 +/- ##
==========================================
+ Coverage 68.46% 70.80% +2.33%
==========================================
Files 82 84 +2
Lines 4842 5031 +189
==========================================
+ Hits 3315 3562 +247
+ Misses 1395 1304 -91
- Partials 132 165 +33 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Signed-off-by: Dmitry Shmulevich <dshmulevich@nvidia.com>
|
🌿 Preview your docs: https://nvidia-preview-pull-request-347.docs.buildwithfern.com/topograph |
Description
Checklist
git commit -s).