Fix config templates

This commit is contained in:
Cyber MacGeddon 2024-09-08 22:00:28 +01:00
parent 713d903293
commit 0c2e0681a3
3 changed files with 8 additions and 146 deletions

View file

@ -26,12 +26,12 @@ local sc = {
volumeBindingMode: "WaitForFirstConsumer",
};
return k8s + {
k8s + {
// Extract resources usnig the engine
package:: function(patterns)
local resources = [sc, ns] + std.flattenArrays([
p.create(engine) for p in std.objectValues(patterns)
p.create(self) for p in std.objectValues(patterns)
]);
local resourceList = {
apiVersion: "v1",