SIENTIAPDE-1110
Add MongoDB configuration to values.yaml and integrate MongoDB support in worker.py
This commit is contained in:
@@ -15,7 +15,8 @@ with workflow.unsafe.imports_passed_through():
|
|||||||
from scouter.utils.connectors_config import (
|
from scouter.utils.connectors_config import (
|
||||||
build_postgres_config,
|
build_postgres_config,
|
||||||
build_kafka_config,
|
build_kafka_config,
|
||||||
build_redis_config
|
build_redis_config,
|
||||||
|
build_mongodb_config
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -41,7 +42,8 @@ async def main():
|
|||||||
notification_handler=notification_handler,
|
notification_handler=notification_handler,
|
||||||
postgres_config=build_postgres_config(),
|
postgres_config=build_postgres_config(),
|
||||||
kafka_config=build_kafka_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...')
|
logger.info('Starting Faker Activities...')
|
||||||
|
|||||||
@@ -173,6 +173,15 @@ env:
|
|||||||
- name: TEMPORAL_NAMESPACE
|
- name: TEMPORAL_NAMESPACE
|
||||||
value: "default"
|
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:
|
ssh:
|
||||||
enabled: true
|
enabled: true
|
||||||
secretName: git-ssh-key-sientia-scouter-worker
|
secretName: git-ssh-key-sientia-scouter-worker
|
||||||
|
|||||||
Reference in New Issue
Block a user