Commit graph

6 commits

Author SHA1 Message Date
lillecarl
eb2a380f7b kubeListsToAttrs: skip CustomResourceDefinition objects 2026-01-31 18:43:16 +00:00
Carl Andersson
31d4df88af fix mkNumberedList 2025-11-24 01:17:30 +01:00
Carl Andersson
01cedc5d8c Add hashAttrs helper to lib 2025-11-19 21:49:26 +01:00
Carl Andersson
508175238c Add mkNamedList and mkNumberedList helpers
Validates the attrsets and sets the "special scauce" attr
2025-10-20 12:35:30 +02:00
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
9bf2cbec32 Use overlays to extend pkgs instead of passing Helm specialArgs
Move writeMultipleFiles to pkgs
Add empty lib overlay
2025-10-15 02:45:41 +02:00