Skip to content

fix(bluefield): make cert directory configurable to match agent code#1790

Merged
abvarshney-nv merged 1 commit into
NVIDIA:mainfrom
ianderson-nvidia:fix_bluefield_forge
May 19, 2026
Merged

fix(bluefield): make cert directory configurable to match agent code#1790
abvarshney-nv merged 1 commit into
NVIDIA:mainfrom
ianderson-nvidia:fix_bluefield_forge

Conversation

@ianderson-nvidia
Copy link
Copy Markdown
Contributor

The carbide/forge → NICo rename in PR #1532 updated the helm charts to mount certs at /opt/nico, but the Rust agent code (and bundled otel configs) still read certs from /opt/forge/forge_root.pem. The chart and the binary were pointing at different directories, breaking certificate discovery for nico-fmds, nico-dpu-agent, nico-dpu-otel-agent, and nico-otelcol.

Adds helm-unittest coverage under each chart's tests/ directory verifying both the default (forge) and cleared (nico) render paths.

Description

Type of Change

  • Add - New feature or capability
  • Change - Changes in existing functionality
  • Fix - Bug fixes
  • Remove - Removed features or deprecated functionality
  • Internal - Internal changes (refactoring, tests, docs, etc.)

Related Issues (Optional)

Breaking Changes

  • This PR contains breaking changes

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • No testing required (docs, internal refactor, etc.)

Additional Notes

@ianderson-nvidia ianderson-nvidia requested a review from a team as a code owner May 18, 2026 23:25
The carbide/forge → NICo rename in PR NVIDIA#1532 updated the helm charts to
mount certs at /opt/nico, but the Rust agent code (and bundled otel
configs) still read certs from /opt/forge/forge_root.pem. The chart and
the binary were pointing at different directories, breaking certificate
discovery for nico-fmds, nico-dpu-agent, nico-dpu-otel-agent, and
nico-otelcol.

Adds helm-unittest coverage under each chart's tests/ directory
verifying both the default (forge) and cleared (nico) render paths.

Signed-off-by: Ian Anderson <ianderson@nvidia.com>

### Cert directory on the host (also used as the container mountPath).
certsDir: /opt/forge

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

don't you need rootCaFile here?

@abvarshney-nv abvarshney-nv merged commit 75ec005 into NVIDIA:main May 19, 2026
125 of 127 checks passed
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.

3 participants