diff --git a/stable/prometheus-operator/Chart.yaml b/stable/prometheus-operator/Chart.yaml index 6f0b78e0dc..6d74e61802 100644 --- a/stable/prometheus-operator/Chart.yaml +++ b/stable/prometheus-operator/Chart.yaml @@ -9,7 +9,7 @@ name: prometheus-operator sources: - https://github.com/coreos/prometheus-operator - https://coreos.com/operators/prometheus -version: 0.1.2 +version: 0.1.3 appVersion: "0.24.0" home: https://github.com/coreos/prometheus-operator keywords: diff --git a/stable/prometheus-operator/README.md b/stable/prometheus-operator/README.md index 6295e4bf10..1d34b6e3e5 100644 --- a/stable/prometheus-operator/README.md +++ b/stable/prometheus-operator/README.md @@ -14,6 +14,7 @@ This chart bootstraps a [prometheus-operator](https://github.com/coreos/promethe ## Prerequisites - Kubernetes 1.10+ with Beta APIs + - Helm 2.10+ (For a workaround using an earlier version see [below](#helm-210-workaround)) ## Installing the Chart @@ -234,7 +235,7 @@ The following tables lists the configurable parameters of the prometheus-operato Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, ```console -$ helm install --name my-release stable/prometheus-operator --set sendAnalytics=true +$ helm install --name my-release stable/prometheus-operator --set prometheusOperator.enabled=true ``` Alternatively, one or more YAML files that specify the values for the above parameters can be provided while installing the chart. For example, @@ -250,4 +251,9 @@ $ helm install --name my-release stable/prometheus-operator -f values1.yaml,valu For more in-depth documentation of configuration options meanings, please see - [Prometheus Operator](https://github.com/coreos/prometheus-operator) - [Prometheus](https://prometheus.io/docs/introduction/overview/) -- [Grafana](https://github.com/helm/charts/tree/master/stable/grafana#grafana-helm-chart) \ No newline at end of file +- [Grafana](https://github.com/helm/charts/tree/master/stable/grafana#grafana-helm-chart) + +## Helm <2.10 workaround +The `crd-install` hook is required to deploy the prometheus operator CRDs before they are used. If you are forced to use an earlier version of Helm you can work around this requirement as follows: +1. Install prometheus-operator by itself, disabling everything but the prometheus-operator component, and also setting `prometheusOperator.serviceMonitor.selfMonitor=false` +2. Install all the other components, and configure `prometheus.additionalServiceMonitors` to scrape the prometheus-operator service. \ No newline at end of file