feat: add env-value-from as opt-in check for #705
Implements env-value-from check from #705 as opt-in (via config.yaml 'include'). If maintainers prefer, can add to default checks in a follow-up.
Codecov Report
:x: Patch coverage is 86.20690% with 20 lines in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 29.11%. Comparing base (dbd7529) to head (816e9ff).
:warning: Report is 210 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #1032 +/- ##
===========================================
- Coverage 62.36% 29.11% -33.25%
===========================================
Files 197 237 +40
Lines 4854 6405 +1551
===========================================
- Hits 3027 1865 -1162
- Misses 1439 4378 +2939
+ Partials 388 162 -226
| Flag | Coverage Δ | |
|---|---|---|
| unit | 29.11% <86.20%> (-33.25%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@janisz have made the changes you suggested
@janisz Thanks for the suggestions and pointing out some of my mistakes and I worked on them as suggested. I have added some new tests as follows:
- ConfigMap failing test
- ConfigMap passing test
- Missing ConfigMap failing test
- Missing Secret failing test
Nice! Thank you for your contribution!
I plan to release once get https://github.com/stackrox/kube-linter/pull/1045 merged