UNCLASSIFIED - NO CUI

Gluon Generates Empty Yaml Objects

Gluon is producing empty YAML objects when waitJob or bbtests is present, but disabled.

Example:

bbtests:
  enabled: false
waitJob:
  enabled: false

While this doesn't cause much of a problem with Helm itself, other utilities like Kyverno which runs in our pipelines aren't able to handle them properly. Please refer to minio#139 (closed) for more information.

Ideally, the behavior of setting either of those values to false should be the same as the sections not being present at all (In this scenario there are no empty YAML objects).