jsonnet: refactor the rest of mixins and grafana inclusion

Signed-off-by: paulfantom <pawel@krupa.net.pl>
This commit is contained in:
paulfantom
2021-01-15 09:26:57 +01:00
parent 86d4571aea
commit 5624c5a9a8
5 changed files with 23 additions and 18 deletions

View File

@@ -14,7 +14,7 @@ local kp =
},
};
{ ['setup/0namespace-namespace']: kp.kubePrometheus.namespace } +
{ 'setup/0namespace-namespace': kp.kubePrometheus.namespace } +
{
['setup/prometheus-operator-' + name]: kp.prometheusOperator[name]
for name in std.filter((function(name) name != 'serviceMonitor' && name != 'prometheusRule'), std.objectFields(kp.prometheusOperator))