mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-21 03:38:43 +00:00
fix: Fix incorrect label (#7143)
* fix: Fix incorrect label The previous labelling was inconsistent: The deployment was labelled with prometheus: prometheus, but the service was selecting on prometheus: shards. Corrected service definition --------- Signed-off-by: Simon Pasquier <spasquie@redhat.com> Co-authored-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
parent
c5de052771
commit
1f3993ebf4
2 changed files with 2 additions and 2 deletions
|
@ -117,7 +117,7 @@ apiVersion: monitoring.coreos.com/v1
|
|||
kind: Prometheus
|
||||
metadata:
|
||||
labels:
|
||||
prometheus: prometheus
|
||||
prometheus: shards
|
||||
name: prometheus
|
||||
namespace: default
|
||||
spec:
|
||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: monitoring.coreos.com/v1
|
|||
kind: Prometheus
|
||||
metadata:
|
||||
labels:
|
||||
prometheus: prometheus
|
||||
prometheus: shards
|
||||
name: prometheus
|
||||
namespace: default
|
||||
spec:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue