diff --git a/example.jsonnet b/example.jsonnet index 2a10509c18e5087cf16939eaa9e9534932a50008..fcd2bb01cf3250b2ac1d2b256814b4a189424abc 100644 --- a/example.jsonnet +++ b/example.jsonnet @@ -1,8 +1,9 @@ -local kp = (import 'kube-prometheus/kube-prometheus.libsonnet') + { - _config+:: { - namespace: 'monitoring', - }, -}; +local kp = + (import 'kube-prometheus/kube-prometheus.libsonnet') + { + _config+:: { + namespace: 'monitoring', + }, + }; { ['00namespace-' + name]: kp.kubePrometheus[name] for name in std.objectFields(kp.kubePrometheus) } + { ['0prometheus-operator-' + name]: kp.prometheusOperator[name] for name in std.objectFields(kp.prometheusOperator) } +