Add prometheus admin flag feature to helm, kube-prometheus and jsonnet files

This commit is contained in:
Purandare, Aditya
2019-01-16 01:36:32 +05:30
parent 682809c0fb
commit e3b989ccd3
6 changed files with 16 additions and 0 deletions

View File

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