add apprise sidecar

This commit is contained in:
2025-06-05 20:44:29 -05:00
parent 5afc4cfd10
commit 000c589d06
3 changed files with 59 additions and 0 deletions

View File

@@ -143,6 +143,7 @@ data:
max_orphaned_files_to_delete: 50
apprise:
api_url: http://localhost:8000/notify
notify_url: !ENV QBIT_NTFY_URL
webhooks:

View File

@@ -17,3 +17,24 @@ spec:
matchLabels:
app.kubernetes.io/name: qbittorrent
app.kubernetes.io/instance: {{ .Release.Name }}
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: qbittorrent-apprise
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: qbittorrent-apprise
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
endpoints:
- port: apprise
interval: 30s
scrapeTimeout: 15s
path: /metrics
selector:
matchLabels:
app.kubernetes.io/name: qbittorrent
app.kubernetes.io/instance: {{ .Release.Name }}