SIENTIAPDE-1110

Add MongoDB configuration to values.yaml and integrate MongoDB support in worker.py
This commit is contained in:
vitor-aignosi
2025-07-01 15:15:18 -03:00
parent 53337de74a
commit 97d66ed6cd
2 changed files with 13 additions and 2 deletions

View File

@@ -15,7 +15,8 @@ with workflow.unsafe.imports_passed_through():
from scouter.utils.connectors_config import (
build_postgres_config,
build_kafka_config,
build_redis_config
build_redis_config,
build_mongodb_config
)
@@ -41,7 +42,8 @@ async def main():
notification_handler=notification_handler,
postgres_config=build_postgres_config(),
kafka_config=build_kafka_config(),
redis_config=build_redis_config()
redis_config=build_redis_config(),
mongodb_config=build_mongodb_config()
)
logger.info('Starting Faker Activities...')

View File

@@ -173,6 +173,15 @@ env:
- name: TEMPORAL_NAMESPACE
value: "default"
- name: MONGODB_USERNAME
value: "root"
- name: MONGODB_PASSWORD
value: "wKZDbMNU1c"
- name: MONGODB_URL
value: "my-release-mongodb.mongodb.svc.cluster.local:27017"
- name: MONGODB_DATABASE
value: "sientia"
ssh:
enabled: true
secretName: git-ssh-key-sientia-scouter-worker