Commit graph

3 commits

Author SHA1 Message Date
Carl Andersson
c6ae8138d0 Implement convertLists for Helm and importyaml
This converts lists where all elements have the name attributes into
attrsets where the name is inherited from the element. Except for a
special case (initContainers) where execution order is determined by
list order.
All other lists are converted into attrsets with an index as name so
that they're also easily overrideable. This is an optional setting that
takes the bad parts out of using imported manifests.
2025-10-20 10:10:50 +02:00
Carl Andersson
03c69a0f63 Implement converting to and from _namedlist
With this we'll be able to convert imported resources into attrsets that
we can easily override with Nix. Then we convert back into lists that
Kubernetes expects.
2025-10-20 08:52:23 +02:00
Carl Andersson
d1e4aee2a2 Implement _namedlist attribute
Will convert into a list of attrs with name set if encountered
2025-10-15 02:28:37 +02:00