Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit 815d07e

Browse files
authored
Fix: sample Prometheus custom resource has wrong settings (#791)
1 parent f683fd5 commit 815d07e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/samples/kafkacluster-prometheus.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ roleRef:
178178
subjects:
179179
- kind: ServiceAccount
180180
name: prometheus
181-
namespace: default
181+
namespace: kafka
182182
---
183183
apiVersion: monitoring.coreos.com/v1
184184
kind: Prometheus
@@ -196,8 +196,8 @@ spec:
196196
port: alerts
197197
serviceMonitorSelector:
198198
matchLabels:
199-
app: kafka
200199
kafka_cr: kafka
200+
release: prometheus-operator
201201
ruleSelector:
202202
matchLabels:
203203
prometheus: kafka-rules

0 commit comments

Comments
 (0)