Rename some internal environment variables that could conflict with Kubernetes. Fixes #4999.

This commit is contained in:
Dave Page authored and Akshay Joshi committed 2019-12-13 10:42:43 +05:30
1 parent 8e8f89aa8f
commit 8cb239abcb
6 files changed
+20 -21

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ class AppStarter:
""" This function start the subprocess to start pgAdmin app """
random_server_port = str(random.randint(10000, 65535))
env = {
"PGADMIN_PORT": random_server_port,
"PGADMIN_INT_PORT": random_server_port,
"SQLITE_PATH": str(self.app_config.TEST_SQLITE_PATH)
}
env.update(os.environ)