Skip to content
Snippets Groups Projects
Commit ce6fe3da authored by Frederic Branczyk's avatar Frederic Branczyk Committed by GitHub
Browse files

Merge pull request #2300 from underarmour/feature/enable-admin-api

Add flag to enable prometheus web admin API and fixes #1215
parents c1e2f2b2 96910666
Branches feat/pstoreds
No related tags found
No related merge requests found
......@@ -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: {},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment