cold-coat-35200
08/13/2021, 11:50 AMmetrics: {}
, metrics: ''
, metrics: null
in values, but none of them helps.
Transformations did not help either, because it runs after template generation and I don't want to remove the unnecessary fields one by one.gentle-diamond-70147
08/16/2021, 5:21 PMcold-coat-35200
08/16/2021, 6:09 PMgentle-diamond-70147
08/16/2021, 6:38 PMcold-coat-35200
08/16/2021, 6:52 PM.Values.metrics
condition used in multiple places, e.g.: deployment "ports" section, command-line arguments, etc.
That's why I said it's hard to remove from everywhere with transformations, it's possible of course, but wouldn't be a maintainable code (e.g.: a next helm chart version adds more sections based on the same condition)