ucloud-scheduler/config.py

7 lines
293 B
Python
Raw Normal View History

2019-08-28 21:05:43 +05:00
from decouple import config
from etcd3_wrapper import Etcd3Wrapper
2019-08-30 23:40:43 +05:00
# TODO: Remove timeout, use certificate authentication
etcd_client = Etcd3Wrapper(host=config("ETCD_URL"), user="root",
password=config("ETCD_PASSWORD"),
timeout=2629746)