From 47f8cb748bd00e6cc6397ef6eadcc802ffc6b33d Mon Sep 17 00:00:00 2001 From: Suraj Deshmukh Date: Sat, 1 Jun 2019 06:10:22 +0530 Subject: [PATCH] prometheus-operator: missing nodeAffinity field in values (#13569) This commit fixes the example config given in the values file for `affinity`, to include the key `nodeAffinity`. Signed-off-by: Suraj Deshmukh --- stable/prometheus-operator/Chart.yaml | 2 +- stable/prometheus-operator/values.yaml | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/stable/prometheus-operator/Chart.yaml b/stable/prometheus-operator/Chart.yaml index 7db9121aa2..b99bdbed0d 100644 --- a/stable/prometheus-operator/Chart.yaml +++ b/stable/prometheus-operator/Chart.yaml @@ -10,7 +10,7 @@ name: prometheus-operator sources: - https://github.com/coreos/prometheus-operator - https://coreos.com/operators/prometheus -version: 5.11.0 +version: 5.11.1 appVersion: 0.30.0 home: https://github.com/coreos/prometheus-operator keywords: diff --git a/stable/prometheus-operator/values.yaml b/stable/prometheus-operator/values.yaml index e1e8d1c4c6..dd57c9a22e 100644 --- a/stable/prometheus-operator/values.yaml +++ b/stable/prometheus-operator/values.yaml @@ -951,15 +951,15 @@ prometheusOperator: ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ ## affinity: {} - # nodeAffinity: - # requiredDuringSchedulingIgnoredDuringExecution: - # nodeSelectorTerms: - # - matchExpressions: - # - key: kubernetes.io/e2e-az-name - # operator: In - # values: - # - e2e-az1 - # - e2e-az2 + # nodeAffinity: + # requiredDuringSchedulingIgnoredDuringExecution: + # nodeSelectorTerms: + # - matchExpressions: + # - key: kubernetes.io/e2e-az-name + # operator: In + # values: + # - e2e-az1 + # - e2e-az2 securityContext: runAsNonRoot: true