FORMAT: use jsonnet for templating

* add jsonnet templates
* rewrite all charts to jsonnet
This commit is contained in:
Sebastian Mark 2022-04-04 18:24:35 +02:00
parent bf2aa26963
commit e2fe9bb682
19 changed files with 244 additions and 237 deletions

View file

@ -0,0 +1,14 @@
# vim:expandtab:
local argoapp = import "../../../_templates/argo_app.template";
local vars = import "prometheus_vars";
[
argoapp + {
name:: "prometheus-crds",
namespace:: vars.namespace,
repo:: "https://github.com/prometheus-community/helm-charts.git",
path:: "charts/kube-prometheus-stack/crds/",
version:: "kube-prometheus-stack-" + vars.version,
syncOptions:: ["CreateNamespace=true", "Replace=true"]
}
]