mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
feat(k8s): optimizate, do not double evaluate aliased options
This commit is contained in:
parent
0910b9b42e
commit
2ad7db5df0
9 changed files with 9 additions and 685 deletions
|
|
@ -365,9 +365,7 @@ in {
|
|||
\"${resource.resource}\" = ${genResourceOptions resource};
|
||||
") latestResourcesByKind)}};
|
||||
|
||||
config = {${concatStrings (mapAttrsToList (name: resource: "
|
||||
\"${resource.group}\".\"${resource.version}\".\"${resource.kind}\" = config.\"${resource.resource}\";
|
||||
") latestResourcesByKind)}} // {
|
||||
config = {
|
||||
inherit definitions;
|
||||
|
||||
resources = [${concatStrings (mapAttrsToList (name: resource: "{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue