Don't filter nulls by default, let transformers decide instead
This commit is contained in:
parent
6273746ef1
commit
e4f5567500
1 changed files with 0 additions and 2 deletions
|
|
@ -232,8 +232,6 @@ in
|
|||
lib.listToAttrs (map resourceToAttr data.resources);
|
||||
|
||||
generated = lib.pipe cfg.resources [
|
||||
# Remove all nulls (TODO: is this a bad idea?)
|
||||
(lib.filterAttrsRecursive (_: value: value != null))
|
||||
# Convert kubernetes.resources.namespace.kind.name into a list of list resources
|
||||
(lib.collect (x: x ? apiVersion && x ? kind && x ? metadata))
|
||||
# Run a generator pass to allow generating resources from other resources (VPA)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue