• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NVIDIA / nodewright / 27170830159

08 Jun 2026 10:23PM UTC coverage: 81.64% (-0.1%) from 81.77%
27170830159

push

github

web-flow
fix(operator): mount configMap keys as subPaths to preserve image defaults (#267)

A package's configMap was mounted as a single directory volume at
/skyhook-package/configmaps, which (per standard Kubernetes
ConfigMap-as-volume behavior) replaced the entire directory and hid any
files the package image baked in at that path. Package authors could not
ship default files and let users override individual keys.

Mount each configMap key as its own subPath instead, so user-supplied
files overlay on top of image content rather than replacing the whole
directory; image-side files for keys the user did not supply remain
visible. Keys are iterated in sorted order for a deterministic pod spec.

subPath mounts do not receive live configMap updates, but package pods
are recreated per stage / version bump and never observed live edits in
practice.

Closes #208

Signed-off-by: Brian Lockwood <lockwobr@gmail.com>

23 of 23 new or added lines in 1 file covered. (100.0%)

18 existing lines in 3 files now uncovered.

8066 of 9880 relevant lines covered (81.64%)

9.32 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.84
/operator/internal/controller/skyhook_controller.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc