Visual hierarchy and ease of maintenance

Continuing the discussion from Dynamic.yml or labels in docker:

I was unaware of the unquoted syntax. That’s nicer (but not by much).

I completely agree with the OP though. For me, both syntaxes are difficult to read and maintain. There are two main problems:

  • They’re flat.
    It’s much easier for people to interpret / understand hierarchies.
  • They’re highly repetitive.
    That creates visual clutter, and visual clutter is mind clutter.

I mean, yeah, it’s clever that labels have been leveraged in such a way for dynamic configuration, but why do humans have to suffer because of it? :confused:

It would be cool if there was a tool/utility that translated from a hierarchical format to the flat labels format.


I created this for my personal purpose but there are some limitations because some fields are not allowed by labels and some elements only exist for a specific provider.

Maybe I need to think to open-source an improved version of my tool.

Hey @ldez, that sounds great. I'm glad there are at least a few folks thinking along the same lines. If you decide to OS your tool, please post a notice here in the forums. :slightly_smiling_face:

1 Like