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

@@ -8,10 +8,10 @@ local kp =
common+: {
namespace: 'monitoring',
},
alertmanager+:: {
alertmanager+: {
config: importstr 'alertmanager-config.yaml',
},
grafana+:: {
grafana+: {
config: { // http://docs.grafana.org/installation/configuration/
sections: {
// Do not require grafana users to login/authenticate
@@ -40,7 +40,7 @@ local kp =
},
},
},
alertmanager+:: {
alertmanager+: {
alertmanager+: {
// Reference info: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#alertmanagerspec
spec+: {