Merge pull request #2300 from underarmour/feature/enable-admin-api
Add flag to enable prometheus web admin API and fixes #1215
This commit is contained in:
@@ -143,6 +143,8 @@ In order to update the kube-prometheus dependency, simply use the jsonnet-bundle
|
||||
|
||||
e.g. of how to compile the manifests: `./build.sh example.jsonnet`
|
||||
|
||||
> before compiling, install `gojsontoyaml` tool with `go get github.com/brancz/gojsontoyaml`
|
||||
|
||||
Here's [example.jsonnet](example.jsonnet):
|
||||
|
||||
[embedmd]:# (example.jsonnet)
|
||||
|
@@ -168,6 +168,7 @@ local k = import 'ksonnet/ksonnet.beta.3/k.libsonnet';
|
||||
replicas: $._config.prometheus.replicas,
|
||||
version: $._config.versions.prometheus,
|
||||
baseImage: $._config.imageRepos.prometheus,
|
||||
enableAdminAPI: $._config.prometheus.enableAdminAPI,
|
||||
serviceAccountName: 'prometheus-' + $._config.prometheus.name,
|
||||
serviceMonitorSelector: {},
|
||||
serviceMonitorNamespaceSelector: {},
|
||||
|
Reference in New Issue
Block a user