examples: adapt examples to stop modifying prometheus object when it is not needed

This commit is contained in:
paulfantom
2021-02-22 16:38:19 +01:00
parent 5d06e286ca
commit bf9a917cfa
9 changed files with 46 additions and 24 deletions

View File

@@ -6,7 +6,7 @@ local kp = (import 'kube-prometheus/main.libsonnet') +
},
// Reference info: https://github.com/coreos/kube-prometheus/blob/master/README.md#static-etcd-configuration
etcd+:: {
etcd+: {
// Configure this to be the IP(s) to scrape - i.e. your etcd node(s) (use commas to separate multiple values).
ips: ['127.0.0.1'],