Skip to content

Commit a39b6a1

Browse files
authored
Fix selectors for metrics service and service monitor yaml (#808)
1 parent d441860 commit a39b6a1

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

config/default/metrics_service.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@ spec:
1010
protocol: TCP
1111
targetPort: 8443
1212
selector:
13-
control-plane: controller-manager
13+
control-plane: coherence
14+
app.kubernetes.io/name: coherence-operator
15+
app.kubernetes.io/instance: coherence-operator-manager
16+
app.kubernetes.io/version: "3.5.5"
17+
app.kubernetes.io/component: manager

config/prometheus/monitor.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,8 @@ spec:
2929
insecureSkipVerify: true
3030
selector:
3131
matchLabels:
32-
control-plane: controller-manager
32+
control-plane: coherence
33+
app.kubernetes.io/name: coherence-operator
34+
app.kubernetes.io/instance: coherence-operator-manager
35+
app.kubernetes.io/version: "3.5.5"
36+
app.kubernetes.io/component: manager

0 commit comments

Comments
 (0)