|
@@ -14,6 +14,7 @@ tag = config.get('PROGRAMME', 'tag')
|
|
|
host = config.get('PROGRAMME', 'host')
|
|
|
chart = config.get('PROGRAMME', 'chart')
|
|
|
path_type = config.get('PROGRAMME', 'path_type')
|
|
|
+ingress_class = config.get('PROGRAMME', 'ingress_class', vars=DefaultOption(config, 'PROGRAMME', INGRESS_CLASS = None))
|
|
|
|
|
|
def check_password(password: str):
|
|
|
p_bool = bool(re.search(r"(?:,|/|\$)", password))
|
|
@@ -63,7 +64,8 @@ def start_jupyter(db: Session, item: schemas.ProgrammeId):
|
|
|
'host': host,
|
|
|
'release_name': db_item.release_name,
|
|
|
'chart': chart,
|
|
|
- 'path_type': path_type
|
|
|
+ 'path_type': path_type,
|
|
|
+ 'ingress_class': ingress_class if ingress_class else ""
|
|
|
}
|
|
|
c_res = send_util.create_jupyter(jupyter_create_data)
|
|
|
j_data = c_res['data'] if 'data' in c_res.keys() else None
|