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 <surajd.service@gmail.com>
This commit is contained in:
Suraj Deshmukh
2019-05-31 17:40:22 -07:00
committed by Kubernetes Prow Robot
parent b510a0c3aa
commit 47f8cb748b
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -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:
+9 -9
View File
@@ -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