File tree 1 file changed +4
-9
lines changed
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 1
1
// This file is used to update monitoring-centrals with ArgoCD
2
2
local monitoringCentral = (import './monitoring-central.libsonnet' );
3
- local excludedComponents = [
4
- 'kubePrometheus' ,
5
- 'restrictedPodSecurityPolicy' ,
6
- ];
3
+
7
4
[
8
5
monitoringCentral.kubePrometheus.namespace,
9
6
] +
10
- [
11
- monitoringCentral[component][resource]
12
- for component in std.filter (function (component) !std.member(excludedComponents, component), std.objectFields (monitoringCentral))
13
- for resource in std.objectFields (monitoringCentral[component],)
14
- ]
7
+ [monitoringCentral.grafana[name] for name in std.objectFields (monitoringCentral.grafana)] +
8
+ [monitoringCentral.victoriametrics[name] for name in std.objectFields (monitoringCentral.victoriametrics)] +
9
+ [monitoringCentral.pyrra[name] for name in std.objectFields (monitoringCentral.pyrra)]
You can’t perform that action at this time.
0 commit comments