nri-kube-events: Add Comprehensive Global Value Inheritance Test Coverage #516
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.
Overview
This PR adds comprehensive test coverage with EXPLICIT validation of global value inheritance for all applicable values from the nri-bundle global values contract. Each applicable global value has dedicated test cases that directly validate propagation and override precedence. No template changes were required - the focus is on explicit test validation of the existing behavior.
Changes
Added Test Suite
tests/global_inheritance_test.yamlTest Results
Test coverage includes:
Global Values Coverage
All 27 global values from the nri-bundle global contract assessed:
Legend:
Yes- Chart includes explicit helm-unittest test coveragePartial- Known limitation preventing full testing (documented in Known Limitations section)No- Value not applicable to this chart typeCRITICAL: All applicable global values MUST have explicit test coverage. Each value is tested independently in helm-unittest test cases.
Testing Approach: This chart validates ALL applicable global values through comprehensive helm-unittest test suite, ensuring each value propagates correctly and respects override precedence. While common-library helpers handle the implementation, each chart must independently validate that global values actually work in its specific context.
Files Modified
charts/nri-kube-events/tests/global_inheritance_test.yaml- Added 42 new test casesNo Breaking Changes
Build Status
Changelog Entry