Commit cfaf8da
committed
fix(newrelic-logging): correct logLevel default to enable global.verboseLog inheritance
- Changed fluentBit.logLevel default from "info" to "" (empty)
- This allows global.verboseLog=true to correctly set LOG_LEVEL=debug
- Added clear precedence comments in values.yaml
Root cause: values.yaml had logLevel: "info" as default, causing the
template's if $logLevel condition to always be true, preventing
global.verboseLog from being evaluated.
Test Results: All 107 helm-unittest tests pass
Template validation:
- Default (no settings) → LOG_LEVEL="info"
- global.verboseLog=true → LOG_LEVEL="debug"
- Explicit fluentBit.logLevel → takes precedence1 parent 9730bda commit cfaf8da
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
0 commit comments