SIENTIAPDE-1017
Enhance OPC ingestor with Redis authentication and update Helm chart configurations. Improve README for clarity on Docker and Kubernetes setup.
This commit is contained in:
@@ -5,8 +5,10 @@ from redis import Redis
|
||||
|
||||
class ResourceManager:
|
||||
def __init__(self, host: str, port: int,
|
||||
lease_ttl: int, heartbeat_ttl: int, pod_id: str) -> None:
|
||||
self.redis = Redis(host=host, port=port, decode_responses=True)
|
||||
lease_ttl: int, heartbeat_ttl: int, pod_id: str,
|
||||
username: str = None, password: str = None) -> None:
|
||||
self.redis = Redis(host=host, port=port, decode_responses=True,
|
||||
username=username, password=password)
|
||||
self.lease_ttl = lease_ttl
|
||||
self.heartbeat_ttl = heartbeat_ttl
|
||||
self.pod_id = pod_id
|
||||
|
||||
Reference in New Issue
Block a user