1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-16 09:16:38 +00:00

Drop compat for <prometheus-operator-0.13.0 (#1243)

* helm: Drop compat for prometheus-operator <0.13.0

* README: Minimal supported K8s version is 1.8

* helm: Bump prometheus-operator to 0.0.17
This commit is contained in:
Manuel Rüger 2018-04-23 09:18:35 +02:00 committed by Giancarlo Rubio
parent 5bd9dbf774
commit 4c8cb6ab31
4 changed files with 7 additions and 11 deletions

View file

@ -37,10 +37,13 @@ Kubernetes itself and applications running on top of it.
## Prerequisites
Version `>=0.2.0` of the Prometheus Operator requires a Kubernetes
cluster of version `>=1.5.0`. If you are just starting out with the
Version `>=0.18.0` of the Prometheus Operator requires a Kubernetes
cluster of version `>=1.8.0`. If you are just starting out with the
Prometheus Operator, it is highly recommended to use the latest version.
If you have an older version of Kubernetes and the Prometheus Operator running,
we recommend upgrading Kubernetes first and then the Prometheus Operator.
If you have previously used pre-1.5.0 releases of Kubernetes with the `0.1.0`
version of the Prometheus Operator, see the [migration](#migration) section.

View file

@ -9,4 +9,4 @@ maintainers:
name: prometheus-operator
sources:
- https://github.com/coreos/prometheus-operator
version: 0.0.16
version: 0.0.17

View file

@ -28,9 +28,5 @@ If release name contains chart name it will be used as a full name.
Return the appropriate apiVersion value to use for the prometheus-operator managed k8s resources
*/}}
{{- define "prometheus-operator.apiVersion" -}}
{{- if lt .Values.image.tag "v0.12.0" }}
{{- printf "%s" "monitoring.coreos.com/v1alpha1" -}}
{{- else -}}
{{- printf "%s" "monitoring.coreos.com/v1" -}}
{{- end -}}
{{- end -}}

View file

@ -27,9 +27,6 @@ spec:
{{- end }}
- --prometheus-config-reloader={{ .Values.prometheusConfigReloader.repository }}:{{ .Values.prometheusConfigReloader.tag }}
- --config-reloader-image={{ .Values.configmapReload.repository }}:{{ .Values.configmapReload.tag }}
{{- if lt .Values.image.tag "v0.13.0" }}
- --analytics=false
{{- end }}
ports:
- containerPort: 8080
name: http