mirror of
https://github.com/wahyd4/helm-charts.git
synced 2026-08-09 04:26:02 +10:00
[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:
co-authored by
Abhinav Khanna
parent
fd17404ac2
commit
4f151abe16
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user