Update config naming and doc
This commit is contained in:
+26
-1
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user