This commit is contained in:
parent
2a40c59d53
commit
f63684d8e8
@ -16,7 +16,8 @@ from config import RELEASEMODE
|
||||
class Kubectl:
|
||||
def __init__(self, name: str, resourcetype: str = "ingest", stream_key: str = "test", push_urls: str = "",
|
||||
ffmpeg_args: str = "", encode_push_urls: str = ""):
|
||||
config.load_incluster_config()
|
||||
if RELEASEMODE != "dev":
|
||||
config.load_incluster_config()
|
||||
self.name = name
|
||||
self.streamtype = resourcetype.lower(),
|
||||
self.stream_key = stream_key,
|
||||
|
Loading…
Reference in New Issue
Block a user