[kube-prometheus-stack] fix(#857): Adjusted the anti-affinity rule to match the statefulset p… (#867)

* fix(#857): Adjusted the anti-affinity rule to match the statefulset pod labels

Signed-off-by: Abhinav Khanna <abhi@abhinavs-mini.lan>

* version bump

Signed-off-by: Abhinav Khanna <abhi@abhinavs-mini.lan>

Co-authored-by: Abhinav Khanna <abhi@abhinavs-mini.lan>
This commit is contained in:
Abhinav Khanna
2021-04-20 17:20:08 -07:00
committed by GitHub
co-authored by Abhinav Khanna
parent fd17404ac2
commit 4f151abe16
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ name: kube-prometheus-stack
sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
version: 15.1.0
version: 15.1.1
appVersion: 0.47.0
kubeVersion: ">=1.16.0-0"
home: https://github.com/prometheus-operator/kube-prometheus
@@ -91,7 +91,7 @@ spec:
labelSelector:
matchExpressions:
- {key: app, operator: In, values: [alertmanager]}
- {key: prometheus, operator: In, values: [{{ template "kube-prometheus-stack.fullname" . }}-alertmanager]}
- {key: alertmanager, operator: In, values: [{{ template "kube-prometheus-stack.fullname" . }}-alertmanager]}
{{- else if eq .Values.alertmanager.alertmanagerSpec.podAntiAffinity "soft" }}
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution: