Conversation
Signed-off-by: Arash Javanmardi <arash@javanmardi.info>
ajavanma
force-pushed
the
fix/helm-effective-namespace
branch
from
September 18, 2026 09:06
9d6aa0a to
1b91fb4
Compare
|
Thanks for the contribution. We will review this PR soon. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Validate the Helm chart's effective resource namespace so
--namespace default --set namespaceOverride=gpu-systemsucceeds and the reverse override requiresallowDefaultNamespace=true.Use the existing namespace helper in one validation guard and remove the duplicate release-namespace guard. Preserve the error text and explicit opt-in. Add Go/Helm regression coverage for release namespaces with and without overrides, both with opt-in disabled and enabled, asserting errors and rendered DaemonSet namespaces.
Checklist
make lint)make test)make check-modules)make check-third-party-notices)Testing
make test-helm: passes with the fix, including all 12 new regression cases.make fmtplusgofmt -w tests/helm/helm_template_test.go: passes, no unrelated changes.make check: passes, 0 lint issues.make test: passes, including package compilation and all four command builds. Vendored NVML code emits deprecation warnings.git diff --check: passes.cd tests && golangci-lint run --allow-serial-runners --timeout=5m ./helm/...) reports threemodernize/newexprsuggestions in unchangedptrcode. Running the same lint against the base test file reproduces all three; no unrelated modernization is included.Validated on Linux ARM64 with Go 1.27.1, Helm 4.3.0, and golangci-lint 2.13.2. GPU/cluster e2e tests were not run; this change is exercised through real Helm rendering without a cluster. Module and third-party-notice regeneration checks were not run because no dependencies or license inputs changed; their checklist boxes remain unchecked.