diff --git a/clusters/cl01tl/platform/qbittorrent/templates/service-monitor.yaml b/clusters/cl01tl/platform/qbittorrent/templates/service-monitor.yaml index e8eb5a494..2a47162ee 100644 --- a/clusters/cl01tl/platform/qbittorrent/templates/service-monitor.yaml +++ b/clusters/cl01tl/platform/qbittorrent/templates/service-monitor.yaml @@ -15,8 +15,8 @@ spec: path: /metrics selector: matchLabels: - app.kubernetes.io/controller: main - app.kubernetes.io/name: qbittorrent + app.kubernetes.io/service: qbittorrent + app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} --- @@ -37,6 +37,6 @@ spec: path: /metrics selector: matchLabels: - app.kubernetes.io/controller: qbit-manage - app.kubernetes.io/name: qbittorrent + app.kubernetes.io/service: qbittorrent-qbit-manage + app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}