diff --git a/README.md b/README.md index a0ce40f0e8c126afc7571d2ae3dd80a3595b5364..442dd10b0c144e9a45eb90a754ff9fede10a632e 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/jsonnet/kube-prometheus/prometheus/prometheus.libsonnet b/jsonnet/kube-prometheus/prometheus/prometheus.libsonnet index 89d55bcc8abe0b540b3bebb0c0498bb8dcd8fec8..b9b3810c95e649811188eaa8a01fb52910dd4314 100644 --- a/jsonnet/kube-prometheus/prometheus/prometheus.libsonnet +++ b/jsonnet/kube-prometheus/prometheus/prometheus.libsonnet @@ -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: {},