From 46e41b753ef3cf3131b83ca4717c602f896b1a4b Mon Sep 17 00:00:00 2001 From: Nathan Freeman Date: Wed, 6 Dec 2023 11:50:29 -0600 Subject: [PATCH] fix kubernetes namespace config --- src/engine/src/conf/constants.py | 2 -- src/engine/src/tests/testserver.py | 1 - 2 files changed, 3 deletions(-) diff --git a/src/engine/src/conf/constants.py b/src/engine/src/conf/constants.py index 905c88de..b7fa02c1 100644 --- a/src/engine/src/conf/constants.py +++ b/src/engine/src/conf/constants.py @@ -59,8 +59,6 @@ try: KUBERNETES_NAMESPACE = open("/var/run/secrets/kubernetes.io/serviceaccount/namespace").read() except Exception: - pass -finally: KUBERNETES_NAMESPACE = "default" WORKFLOW_NFS_SERVER = os.environ.get("WORKFLOW_NFS_SERVER") diff --git a/src/engine/src/tests/testserver.py b/src/engine/src/tests/testserver.py index 8a522f31..fbb6d7e7 100644 --- a/src/engine/src/tests/testserver.py +++ b/src/engine/src/tests/testserver.py @@ -1,4 +1,3 @@ -import sys import unittest from core.Server import Server