Update config naming and doc

This commit is contained in:
2025-10-17 20:36:29 -07:00
parent eb9e107f65
commit c15f1a50ca
11 changed files with 206 additions and 46 deletions
+26 -1
View File
@@ -5,7 +5,7 @@ metadata:
labels:
app: notifier
data:
config.yaml: |
notifier.config: |
server:
grpc_port: 50051
rest_port: 8080
@@ -25,6 +25,31 @@ data:
notifiers:
stdout: true
# SMTP email configuration (supports multiple accounts)
smtp:
personal:
host: "smtp.gmail.com"
port: 587
username: "your-email@gmail.com"
password: "your-app-password"
from: "your-email@gmail.com"
use_tls: true
default: true
# Slack configuration (supports multiple workspaces)
slack:
main:
webhook_url: "https://hooks.slack.com/services/YOUR/WEBHOOK/URL"
username: "Notifier Bot"
icon_emoji: ":bell:"
default: true
# Ntfy configuration (supports multiple servers)
ntfy:
public:
server_url: "https://ntfy.sh"
default: true
logging:
level: "info"
format: "json"
+2 -2
View File
@@ -45,8 +45,8 @@ spec:
value: "local"
volumeMounts:
- name: config
mountPath: /app/config.yaml
subPath: config.yaml
mountPath: /app/notifier.config
subPath: notifier.config
readOnly: true
- name: queue-storage
mountPath: /var/lib/notifier