SIENTIAPDE-1150
refactor: restructure services in values.yaml to separate API and OPC configurations; update mongo_db.py to import datetime correctly and enhance readability
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import datetime
|
||||
from temporalio import workflow, activity
|
||||
|
||||
from orchestrator.utils.patterns import DEFAULT_DATE_FORMAT
|
||||
|
||||
with workflow.unsafe.imports_passed_through():
|
||||
from datetime import datetime
|
||||
from typing import Any
|
||||
import traceback
|
||||
from logging import Logger
|
||||
@@ -11,6 +10,7 @@ with workflow.unsafe.imports_passed_through():
|
||||
from sientia_do.notifications.handlers import NotificationHandler
|
||||
from sientia_do.notifications.models import NotificationLevel
|
||||
from sientia_do.temporal.activities.base import BaseActivity
|
||||
from orchestrator.utils.patterns import DEFAULT_DATE_FORMAT
|
||||
|
||||
|
||||
def clear_mongo_id(docs: list) -> list:
|
||||
|
||||
19
values.yaml
19
values.yaml
@@ -111,11 +111,20 @@ tolerations: []
|
||||
|
||||
affinity: {}
|
||||
|
||||
service:
|
||||
enabled: false
|
||||
type: ClusterIP
|
||||
port: 4840
|
||||
targetPort: 4840
|
||||
services:
|
||||
api:
|
||||
enabled: false
|
||||
type: ClusterIP
|
||||
port: 4841
|
||||
targetPort: 4841
|
||||
name: api
|
||||
|
||||
opc:
|
||||
enabled: false
|
||||
type: ClusterIP
|
||||
port: 4840
|
||||
targetPort: 4840
|
||||
name: server
|
||||
|
||||
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user