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

stacklok / toolhive / 22738807826

05 Mar 2026 10:01PM UTC coverage: 63.768% (-0.05%) from 63.813%
22738807826

push

github

web-flow
Document namespace consistency requirement for CRD chart (#4022)

* Add Helm release-namespace annotation to CRD templates (#4005)

When upgrading the toolhive-operator-crds chart with a different namespace
than the original install, Helm rejects the upgrade due to mismatched
ownership metadata. Add an explicit meta.helm.sh/release-namespace
annotation set to toolhive-system on all CRD templates to prevent this
namespace mismatch error.

Closes #4005

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Replace hardcoded annotation with namespace validation

Helm overrides meta.helm.sh/release-namespace regardless of template
values, so hardcoding it doesn't work. Instead, add a namespace
validation template that fails helm install/upgrade if the target
namespace is not toolhive-system, preventing the mismatch at the source.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Document namespace consistency for CRD chart (#4005)

Helm stamps CRDs with a meta.helm.sh/release-namespace annotation at
install time that cannot be changed by subsequent upgrades. Add
documentation explaining that users must install the CRD chart in the
same namespace consistently, and provide a migration command for users
who need to switch namespaces.

Closes #4005

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

46801 of 73393 relevant lines covered (63.77%)

76.02 hits per line

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

80.31
/pkg/transport/proxy/httpsse/http_proxy.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