kube-prometheus/prometheus: Add local configuration
This adds constructor'esque configuration options for prometheus assets. They still reference global _config default values for backwards compatibility but allow overriding values for new instances of prometheus assets.
This commit is contained in:
@@ -13,7 +13,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
|
||||
},
|
||||
|
||||
alertmanager+:: {
|
||||
name: $._config.alertmanager.name,
|
||||
name: 'main',
|
||||
config: {
|
||||
global: {
|
||||
resolve_timeout: '5m',
|
||||
|
||||
Reference in New Issue
Block a user