Add a clear warning, remove admin API from jsonnet example

This commit is contained in:
Purandare, Aditya
2019-01-17 20:13:37 +05:30
parent 95771caf8c
commit 5ce011173f

View File

@@ -1,11 +1,7 @@
local kp = (import 'kube-prometheus/kube-prometheus.libsonnet') + { local kp = (import 'kube-prometheus/kube-prometheus.libsonnet') + {
_config+:: { _config+:: {
namespace: 'monitoring', namespace: 'monitoring',
}, }
prometheus+:: {
name: 'k8s',
enableAdminAPI: 'true',
},
}; };
{ ['00namespace-' + name]: kp.kubePrometheus[name] for name in std.objectFields(kp.kubePrometheus) } + { ['00namespace-' + name]: kp.kubePrometheus[name] for name in std.objectFields(kp.kubePrometheus) } +