1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-21 03:38:43 +00:00

fix: Fix incorrect label ()

* 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:
Peder G. Landsverk 2024-11-27 15:32:18 +01:00 committed by GitHub
parent c5de052771
commit 1f3993ebf4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions
Documentation/user-guides
example/shards

View file

@ -117,7 +117,7 @@ apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
labels:
prometheus: prometheus
prometheus: shards
name: prometheus
namespace: default
spec:

View file

@ -2,7 +2,7 @@ apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
labels:
prometheus: prometheus
prometheus: shards
name: prometheus
namespace: default
spec: