Skip to content

Commit

Permalink
[kube-prometheus-stack] Rename alertmanager's serviceperreplica selec…
Browse files Browse the repository at this point in the history
…tor key (prometheus-community#1524)

* Rename alertmanager's serviceperreplica selector key from 'app' to 'app.kubernetes.io/name'

Signed-off-by: Renato Isidio <[email protected]>

* Revert "Rename alertmanager's serviceperreplica selector key from 'app' to 'app.kubernetes.io/name'"

This reverts commit 1926035.

Signed-off-by: Renato Isidio <[email protected]>

* Rename alertmanager's serviceperreplica selector key from 'app' to 'app.kubernetes.io/name'

Signed-off-by: Renato Isidio <[email protected]>

* Bump kube-prometheus-stack to 20.0.2

Signed-off-by: Renato Isidio <[email protected]>

Co-authored-by: Renato Isidio <[email protected]>
Co-authored-by: André Bauer <[email protected]>
  • Loading branch information
3 people authored Dec 6, 2021
1 parent 298419d commit abf910e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/kube-prometheus-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ name: kube-prometheus-stack
sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
version: 21.0.3
version: 21.0.4
appVersion: 0.52.0
kubeVersion: ">=1.16.0-0"
home: https://github.com/prometheus-operator/kube-prometheus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ items:
port: {{ $serviceValues.port }}
targetPort: {{ $serviceValues.targetPort }}
selector:
app: alertmanager
app.kubernetes.io/name: alertmanager
alertmanager: {{ template "kube-prometheus-stack.fullname" $ }}-alertmanager
statefulset.kubernetes.io/pod-name: alertmanager-{{ include "kube-prometheus-stack.fullname" $ }}-alertmanager-{{ $i }}
type: "{{ $serviceValues.type }}"
Expand Down

0 comments on commit abf910e

Please sign in to comment.