Merge pull request 'feat(notification): add MongoDB URI configuration' (#44) from tania_local into master

Reviewed-on: https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops/pulls/44
This commit is contained in:
tania 2025-08-01 13:46:41 +00:00
commit d5d12fd0fb
4 changed files with 31 additions and 12 deletions

View File

@ -17,7 +17,8 @@ data:
SYSTEM_USER_ID: {{ .Values.notification.configs.systemUserId | b64enc | quote }} SYSTEM_USER_ID: {{ .Values.notification.configs.systemUserId | b64enc | quote }}
SMS_FROM: {{ .Values.notification.configs.smsFrom | b64enc | quote }} SMS_FROM: {{ .Values.notification.configs.smsFrom | b64enc | quote }}
EMAIL_FROM: {{ .Values.notification.configs.emailFrom | b64enc | quote }} EMAIL_FROM: {{ .Values.notification.configs.emailFrom | b64enc | quote }}
SECRET_KEY: {{ .Values.notification.configs.secretKey | b64enc | quote }} JWT_SECRET_KEY: {{ .Values.notification.configs.jwtsecretKey | b64enc | quote }}
JWT_ALGORITHM: {{ .Values.notification.configs.jwtAlgorithm | b64enc | quote }}
SENDGRID_API_KEY: {{ .Values.notification.configs.sendgridApiKey | b64enc | quote }} SENDGRID_API_KEY: {{ .Values.notification.configs.sendgridApiKey | b64enc | quote }}
TWILIO_ACCOUNT_SID: {{ .Values.notification.configs.twilioAccountSid | b64enc | quote }} TWILIO_ACCOUNT_SID: {{ .Values.notification.configs.twilioAccountSid | b64enc | quote }}
TWILIO_AUTH_TOKEN: {{ .Values.notification.configs.twilioAuthToken | b64enc | quote }} TWILIO_AUTH_TOKEN: {{ .Values.notification.configs.twilioAuthToken | b64enc | quote }}

View File

@ -78,8 +78,13 @@ notification:
configs: configs:
tz: UTC tz: UTC
appName: notification appName: notification
jwtsecretKey: 8f87ca8c3c9c3df09a9c78e0adb0927855568f6072d9efc892534aee35f5867b
jwtAlgorithm: HS256
serviceApiAccessHost: 0.0.0.0 serviceApiAccessHost: 0.0.0.0
serviceApiAccessPort: 8003 serviceApiAccessPort: 8003
mongodbName: freeleaps2
mongodbPort: 27017
mongodbUri: mongodb+srv://jetli:8IHKx6dZK8BfugGp@freeleaps2.hanbj.mongodb.net/
rabbitmqHost: freeleaps-alpha-rabbitmq.freeleaps-alpha.svc.freeleaps.cluster rabbitmqHost: freeleaps-alpha-rabbitmq.freeleaps-alpha.svc.freeleaps.cluster
rabbitmqPort: 5672 rabbitmqPort: 5672
rabbitmqUsername: user rabbitmqUsername: user
@ -88,7 +93,6 @@ notification:
systemUserId: 117f191e810c19729de860aa systemUserId: 117f191e810c19729de860aa
smsFrom: '+16898887156' smsFrom: '+16898887156'
emailFrom: freeleaps@freeleaps.com emailFrom: freeleaps@freeleaps.com
secretKey: 8f87ca8c3c9c3df09a9c78e0adb0927855568f6072d9efc892534aee35f5867b
sendgridApiKey: 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 sendgridApiKey: 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
twilioAccountSid: ACf8c9283a6acda060258eadb29be58bc8 twilioAccountSid: ACf8c9283a6acda060258eadb29be58bc8
twilioAuthToken: ef160748cc22c8b7195b49df4b8eca7e twilioAuthToken: ef160748cc22c8b7195b49df4b8eca7e

View File

@ -66,6 +66,9 @@ notification:
appName: notification appName: notification
serviceApiAccessHost: 0.0.0.0 serviceApiAccessHost: 0.0.0.0
serviceApiAccessPort: 8003 serviceApiAccessPort: 8003
mongodbName: freeleaps2
mongodbPort: 27017
mongodbUri: mongodb+srv://freeadmin:0eMV0bt8oyaknA0m@freeleaps2.zmsmpos.mongodb.net/?retryWrites=true&w=majority
rabbitmqHost: freeleaps-prod-rabbitmq-headless.freeleaps-prod.svc.freeleaps.cluster rabbitmqHost: freeleaps-prod-rabbitmq-headless.freeleaps-prod.svc.freeleaps.cluster
rabbitmqPort: 5672 rabbitmqPort: 5672
rabbitmqUsername: user rabbitmqUsername: user
@ -74,7 +77,8 @@ notification:
systemUserId: 117f191e810c19729de860aa systemUserId: 117f191e810c19729de860aa
smsFrom: '+16898887156' smsFrom: '+16898887156'
emailFrom: freeleaps@freeleaps.com emailFrom: freeleaps@freeleaps.com
secretKey: ea84edf152976b2fcec12b78aa8e45bc26a5cf0ef61bf16f5c317ae33b3fd8b0 jwtsecretKey: ea84edf152976b2fcec12b78aa8e45bc26a5cf0ef61bf16f5c317ae33b3fd8b0
jwtAlgorithm: HS256
sendgridApiKey: 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 sendgridApiKey: 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
twilioAccountSid: ACf8c9283a6acda060258eadb29be58bc8 twilioAccountSid: ACf8c9283a6acda060258eadb29be58bc8
twilioAuthToken: ef160748cc22c8b7195b49df4b8eca7e twilioAuthToken: ef160748cc22c8b7195b49df4b8eca7e

View File

@ -55,6 +55,16 @@ notification:
serviceApiAccessHost: "0.0.0.0" serviceApiAccessHost: "0.0.0.0"
# SERVICE_API_ACCESS_PORT # SERVICE_API_ACCESS_PORT
serviceApiAccessPort: "8003" serviceApiAccessPort: "8003"
# JWT_SECRET_KEY
jwtsecretKey: ""
# JWT_ALGORITHM
jwtAlgorithm: "HS256"
# MONGODB_NAME
mongodbName: ""
# MONGODB_PORT
mongodbPort: "27017"
# MONGODB_URI
mongodbUri: ""
# RABBITMQ_HOST # RABBITMQ_HOST
rabbitmqHost: "" rabbitmqHost: ""
# RABBITMQ_PORT # RABBITMQ_PORT