(#5522) Enhance environment trait to include values from secrets/conf…
:warning: Unit test coverage report - coverage decreased from 39.9% to 39.8% (-0.1%)
Thanks for the work. However, I think this is going too deep in introspecting the value provided by the user. The operator should not peek at any config or secret for a matter of sensitive data. In fact, the goal of the feature is to let the user only provide the configuration and the goal of the operator should be syntactic sugar, transforming the trait parameter into the env container format. We should not worry if the user has provided a missing value, this should be an error that the rest of kubernetes logic should worry about.
Of course, I should have thought about that and read the issue description properly. I'll have something alternative to look at later today.
:warning: Unit test coverage report - coverage decreased from 39.9% to 39.8% (-0.1%)
Failed (unrelated) in ... ❌ TestOLMOperatorUpgrade
Superseded by #5754