From 41b4f93bf9cc1da8ed8138e5dc862dd59d4c6dad Mon Sep 17 00:00:00 2001 From: John McCann Cunniff Jr Date: Mon, 13 Nov 2023 13:26:58 -0500 Subject: [PATCH] ADD NETID env var to IDE --- api/anubis/k8s/theia/create.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/anubis/k8s/theia/create.py b/api/anubis/k8s/theia/create.py index b7f96581a..d0d84586c 100644 --- a/api/anubis/k8s/theia/create.py +++ b/api/anubis/k8s/theia/create.py @@ -548,6 +548,8 @@ def create_theia_k8s_pod_pvc( image=f"{theia_image}:{theia_image_tag}", # Add environment env=[ + # set netid for any extensions or add-ons that need it + k8s.V1EnvVar(name="NETID", value=netid), # set the AUTOSAVE environment variable to ON or OFF # depending on if autosave is enabled for the session. k8s.V1EnvVar(