From 48890db283c9ec69e022011cba00c08113b442fb Mon Sep 17 00:00:00 2001 From: Ahmed Kamel Date: Wed, 25 Apr 2018 14:15:02 -0700 Subject: [PATCH] added tolerations field (#1237) * added tolerations field --- helm/kube-prometheus/Chart.yaml | 2 +- helm/prometheus-operator/Chart.yaml | 2 +- helm/prometheus-operator/templates/get-crd-job.yaml | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/helm/kube-prometheus/Chart.yaml b/helm/kube-prometheus/Chart.yaml index 588eddf1d..9ca5e16fd 100644 --- a/helm/kube-prometheus/Chart.yaml +++ b/helm/kube-prometheus/Chart.yaml @@ -9,4 +9,4 @@ maintainers: name: kube-prometheus sources: - https://github.com/coreos/prometheus-operator -version: 0.0.53 +version: 0.0.55 diff --git a/helm/prometheus-operator/Chart.yaml b/helm/prometheus-operator/Chart.yaml index 4081d66ee..3000d6a91 100644 --- a/helm/prometheus-operator/Chart.yaml +++ b/helm/prometheus-operator/Chart.yaml @@ -9,4 +9,4 @@ maintainers: name: prometheus-operator sources: - https://github.com/coreos/prometheus-operator -version: 0.0.17 +version: 0.0.19 diff --git a/helm/prometheus-operator/templates/get-crd-job.yaml b/helm/prometheus-operator/templates/get-crd-job.yaml index 86aae6742..aede3d9d9 100644 --- a/helm/prometheus-operator/templates/get-crd-job.yaml +++ b/helm/prometheus-operator/templates/get-crd-job.yaml @@ -45,3 +45,7 @@ spec: nodeSelector: {{ toYaml .Values.nodeSelector | indent 8 }} {{- end }} + {{- if .Values.tolerations }} + tolerations: +{{ toYaml .Values.tolerations | indent 8 }} + {{- end }}