Files
domain/share/authentik/template.rhai
2024-05-23 13:21:16 +02:00

8 lines
274 B
Plaintext

const DEST=dest;
fn post_template() {
save_to_tf(`${global::DEST}/conditions.tf`, "conditions", #{
have_servicemonitors: have_crd("servicemonitors.monitoring.coreos.com"),
have_prometheusrules: have_crd("prometheusrules.monitoring.coreos.com")
});
}