fix
This commit is contained in:
7
apps/gramo/template.rhai
Normal file
7
apps/gramo/template.rhai
Normal file
@@ -0,0 +1,7 @@
|
||||
const DEST=dest;
|
||||
const DOMAIN = config.domain;
|
||||
fn post_template() {
|
||||
save_to_tf(`${global::DEST}/detected.tf`, "detected", #{
|
||||
namespaces: list_namespace().items.filter(|ns| ns.metadata.name.starts_with(`${global::DOMAIN}-`)).map(|ns| ns.metadata.name)+[global::DOMAIN]
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user