Azure AKS, experimenting with config (#317)

This commit is contained in:
cybermaggedon 2025-03-15 12:41:46 +00:00 committed by GitHub
parent 1db6dd5dfd
commit a22bf0f04e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 62 additions and 1 deletions

View 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