SIENTIAPDE-1172
feat: integrate email configuration and enhance orchestrator activities - Added email configuration parameters to values.yaml for sender details and SMTP settings. - Refactored Email class to correct parameter names and improve logging during initialization. - Introduced build_email_config function to streamline email configuration retrieval. - Updated worker.py to include email and Postgres configurations in the main orchestration process.
This commit is contained in:
16
values.yaml
16
values.yaml
@@ -170,6 +170,18 @@ env:
|
||||
- name: MONGODB_TTL_INDEX_HOURS
|
||||
value: "1"
|
||||
|
||||
- name: EMAIL_SENDER
|
||||
value: "sientia-alerts@aignosi.com"
|
||||
- name: EMAIL_SENDER_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: smtp-credentials
|
||||
key: sender-password
|
||||
- name: EMAIL_SMTP_SERVER
|
||||
value: "smtp.gmail.com"
|
||||
- name: EMAIL_SMTP_PORT
|
||||
value: "587"
|
||||
|
||||
- name: KAFKA_BOOTSTRAP_SERVERS
|
||||
value: "kafka.kafka.svc.cluster.local:9092"
|
||||
|
||||
@@ -201,3 +213,7 @@ ssh:
|
||||
# --namespace sientia \
|
||||
# --from-file=ssh-privatekey=git_key \
|
||||
# --type=kubernetes.io/ssh-auth
|
||||
|
||||
# kubectl create secret generic smtp-credentials \
|
||||
# --namespace sientia \
|
||||
# --from-literal=app_password='sua-senha-de-app-de-16-digitos'
|
||||
Reference in New Issue
Block a user