You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
555 B
25 lines
555 B
local kp =
|
|
(import 'kube-prometheus/main.libsonnet') +
|
|
{
|
|
values+:: {
|
|
common+: {
|
|
namespace: 'monitoring',
|
|
},
|
|
},
|
|
|
|
// Disable all grafana-related objects apart from dashboards and datasource
|
|
grafana: {
|
|
dashboardSources:: {},
|
|
deployment:: {},
|
|
serviceAccount:: {},
|
|
serviceMonitor:: {},
|
|
service:: {},
|
|
},
|
|
};
|
|
|
|
// Manifestation
|
|
{
|
|
[component + '-' + resource + '.json']: kp[component][resource]
|
|
for component in std.objectFields(kp)
|
|
for resource in std.objectFields(kp[component])
|
|
}
|
|
|