Files
ncore-hnr/k8s/secret.example.yaml
Zsolt Alföldi ecea084003 Add support for notification dry run feature
- Introduced NOTIFICATION_DRY_RUN configuration option in .env.example and k8s/secret.example.yaml.
- Updated README.md to include usage instructions for the new dry run feature.
- Implemented logic in app.go to preview notifications without sending them when the dry run option is enabled.
- Enhanced config.go to load the new configuration option and validate notification types accordingly.
- Added a new function in notify.go to generate manual-needed notification messages for preview.
2026-05-07 00:35:05 +02:00

21 lines
584 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: ncore-hnr-secrets
type: Opaque
stringData:
NCORE_USERNAME: "your-ncore-username"
NCORE_PASSWORD: "your-ncore-password"
QBITTORRENT_URL: "http://qbittorrent.default.svc.cluster.local:8080"
QBITTORRENT_USERNAME: "admin"
QBITTORRENT_PASSWORD: "your-qbit-password"
NOTIFICATION_DRY_RUN: "false"
NOTIFICATION_TYPE: ""
NOTIFICATION_NTFY_URL: ""
NOTIFICATION_SMTP_HOST: ""
NOTIFICATION_SMTP_PORT: "587"
NOTIFICATION_SMTP_USERNAME: ""
NOTIFICATION_SMTP_PASSWORD: ""
NOTIFICATION_SMTP_FROM: ""
NOTIFICATION_SMTP_TO: ""