revert 23fca62e86
revert 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
This commit is contained in:
parent
cc73ad92a9
commit
5fe4cf6d70
@ -9,9 +9,6 @@ data:
|
||||
APP_NAME: {{ .Values.notification.configs.appName | b64enc | quote }}
|
||||
SERVICE_API_ACCESS_HOST: {{ .Values.notification.configs.serviceApiAccessHost | b64enc | quote }}
|
||||
SERVICE_API_ACCESS_PORT: {{ .Values.notification.configs.serviceApiAccessPort | toString | b64enc }}
|
||||
MONGODB_NAME: {{ .Values.notification.configs.mongodbName | b64enc | quote }}
|
||||
MONGODB_PORT: {{ .Values.notification.configs.mongodbPort | toString | b64enc }}
|
||||
MONGODB_URI: {{ .Values.notification.configs.mongodbUri | b64enc | quote }}
|
||||
RABBITMQ_HOST: {{ .Values.notification.configs.rabbitmqHost | b64enc | quote }}
|
||||
RABBITMQ_PORT: {{ .Values.notification.configs.rabbitmqPort | toString | b64enc }}
|
||||
RABBITMQ_USERNAME: {{ .Values.notification.configs.rabbitmqUsername | b64enc | quote }}
|
||||
|
||||
@ -80,9 +80,6 @@ notification:
|
||||
appName: notification
|
||||
serviceApiAccessHost: 0.0.0.0
|
||||
serviceApiAccessPort: 8003
|
||||
mongodbName: freeleaps2
|
||||
mongodbPort: 27017
|
||||
mongodbUri: mongodb+srv://jetli:8IHKx6dZK8BfugGp@freeleaps2.hanbj.mongodb.net/
|
||||
rabbitmqHost: freeleaps-alpha-rabbitmq.freeleaps-alpha.svc.freeleaps.cluster
|
||||
rabbitmqPort: 5672
|
||||
rabbitmqUsername: user
|
||||
|
||||
@ -66,9 +66,6 @@ notification:
|
||||
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
|
||||
|
||||
@ -55,12 +55,6 @@ notification:
|
||||
serviceApiAccessHost: "0.0.0.0"
|
||||
# SERVICE_API_ACCESS_PORT
|
||||
serviceApiAccessPort: "8003"
|
||||
# MONGODB_NAME
|
||||
mongodbName: "freeleaps2"
|
||||
# MONGODB_PORT
|
||||
mongodbPort: "27017"
|
||||
# MONGODB_URI
|
||||
mongodbUri: "mongodb+srv://jetli:8IHKx6dZK8BfugGp@freeleaps2.hanbj.mongodb.net/"
|
||||
# RABBITMQ_HOST
|
||||
rabbitmqHost: ""
|
||||
# RABBITMQ_PORT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user