FEAT: merge prometheus chart and CRD definitions
This commit is contained in:
parent
8977069c90
commit
f6d12d8781
4 changed files with 15 additions and 20 deletions
|
@ -1,8 +1,21 @@
|
||||||
# vim:expandtab:
|
# vim:expandtab:
|
||||||
local helmapp = import "../../../_templates/argo_helm_app.template";
|
local helmapp = import "../../_templates/argo_helm_app.template";
|
||||||
local vars = import "prometheus_vars";
|
local argoapp = import "../../_templates/argo_app.template";
|
||||||
|
|
||||||
|
local vars = {
|
||||||
|
"version": "34.9.0",
|
||||||
|
"namespace": "metrics"
|
||||||
|
};
|
||||||
|
|
||||||
[
|
[
|
||||||
|
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"]
|
||||||
|
},
|
||||||
helmapp + {
|
helmapp + {
|
||||||
name:: "prometheus-grafana",
|
name:: "prometheus-grafana",
|
||||||
namespace: vars.namespace,
|
namespace: vars.namespace,
|
|
@ -1,14 +0,0 @@
|
||||||
# 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"]
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -1,4 +0,0 @@
|
||||||
{
|
|
||||||
"version": "34.9.0",
|
|
||||||
"namespace": "metrics"
|
|
||||||
}
|
|
Loading…
Reference in a new issue