mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-06-06 05:15:13 +02:00
Azure AKS, experimenting with config (#317)
This commit is contained in:
parent
1db6dd5dfd
commit
a22bf0f04e
3 changed files with 62 additions and 1 deletions
16
templates/config-to-aks-k8s.jsonnet
Normal file
16
templates/config-to-aks-k8s.jsonnet
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
local engine = import "engine/aks-k8s.jsonnet";
|
||||
local decode = import "util/decode-config.jsonnet";
|
||||
local components = import "components.jsonnet";
|
||||
|
||||
// Import config
|
||||
local config = import "config.json";
|
||||
|
||||
// Produce patterns from config
|
||||
local patterns = decode(config);
|
||||
|
||||
// Extract resources usnig the engine
|
||||
local resourceList = engine.package(patterns);
|
||||
|
||||
resourceList
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue