freeleaps-ops/freeleaps/helm-pkg/notification/values.prod.yaml
Nicolas 23fca62e86 feat: add MongoDB connection configuration to notification service
- Add MongoDB configuration to values.yaml, values.alpha.yaml, and values.prod.yaml
- Add MongoDB environment variables to notification-config.yaml
- Include mongodbName, mongodbPort, and mongodbUri settings
- Use same MongoDB Atlas connection as central storage service
2025-07-31 10:43:50 +08:00

97 lines
2.4 KiB
YAML

global:
registry: docker.io
repository: freeleaps
nodeSelector: {}
dashboard:
enabled: true
name: freeleaps-prod-notification-dashboard
title: Notification Service Dashboard (PROD)
metricsPrefix: freeleaps_notification
notification:
replicas: 1
image:
registry: docker.io
repository: null
name: notification
tag: snapshot-40e0faf
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8003
protocol: TCP
resources:
requests:
cpu: 200m
memory: 64Mi
limits:
cpu: 300m
memory: 128Mi
probes:
readiness:
type: httpGet
config:
path: /api/_/readyz
port: 8003
initialDelaySeconds: 5
periodSeconds: 30
timeoutSeconds: 3
successThreshold: 1
failureThreshold: 3
liveness:
type: httpGet
config:
path: /api/_/livez
port: 8003
initialDelaySeconds: 5
periodSeconds: 15
timeoutSeconds: 3
successThreshold: 1
failureThreshold: 3
terminationGracePeriodSeconds: 30
services:
- name: notification-service
type: ClusterIP
port: 8003
targetPort: 8003
serviceMonitor:
enabled: true
labels:
release: kube-prometheus-stack
namespace: freeleaps-monitoring-system
internal: 30s
scrapeTimeout: ''
ingresses: {}
configs:
tz: UTC
appName: notification
serviceApiAccessHost: 0.0.0.0
serviceApiAccessPort: 8003
mongodbName: freeleaps2
mongodbPort: 27017
mongodbUri: mongodb+srv://jetli:8IHKx6dZK8BfugGp@freeleaps2.hanbj.mongodb.net/
rabbitmqHost: freeleaps-prod-rabbitmq-headless.freeleaps-prod.svc.freeleaps.cluster
rabbitmqPort: 5672
rabbitmqUsername: user
rabbitmqPassword: D3b0HKz71T0OcYF8
rabbitmqVritualHost: /
systemUserId: 117f191e810c19729de860aa
smsFrom: '+16898887156'
emailFrom: freeleaps@freeleaps.com
secretKey: ea84edf152976b2fcec12b78aa8e45bc26a5cf0ef61bf16f5c317ae33b3fd8b0
sendgridApiKey: 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
twilioAccountSid: ACf8c9283a6acda060258eadb29be58bc8
twilioAuthToken: ef160748cc22c8b7195b49df4b8eca7e
metricsEnabled: 'true'
probesEnabled: 'true'
vpa:
minAllowed:
enabled: true
cpu: "50m"
memory: "64Mi"
maxAllowed:
enabled: true
cpu: "200m"
memory: "128Mi"
controlledResources:
- cpu
- memory