diff --git a/backend/src/utils/notebookUtils.ts b/backend/src/utils/notebookUtils.ts index 02335eaa4c..838a8fd0b8 100644 --- a/backend/src/utils/notebookUtils.ts +++ b/backend/src/utils/notebookUtils.ts @@ -300,10 +300,6 @@ export const assembleNotebook = async ( --ServerApp.quit_button=False --ServerApp.tornado_settings={"user":"${translatedUsername}","hub_host":"${url}","hub_prefix":"/notebookController/${translatedUsername}"}`, }, - { - name: 'JUPYTER_IMAGE', - value: imageUrl, - }, ...configMapEnvs, ...secretEnvs, ], diff --git a/frontend/src/__mocks__/mockNotebookK8sResource.ts b/frontend/src/__mocks__/mockNotebookK8sResource.ts index 3235e20141..68ba9cbd45 100644 --- a/frontend/src/__mocks__/mockNotebookK8sResource.ts +++ b/frontend/src/__mocks__/mockNotebookK8sResource.ts @@ -101,11 +101,6 @@ export const mockNotebookK8sResource = ({ value: '--ServerApp.port=8888\n --ServerApp.token=\'\'\n --ServerApp.password=\'\'\n --ServerApp.base_url=/notebook/project/workbench\n --ServerApp.quit_button=False\n --ServerApp.tornado_settings={"user":"user","hub_host":"http://localhost:4010","hub_prefix":"/projects/project"}', }, - { - name: 'JUPYTER_IMAGE', - value: - 'image-registry.openshift-image-registry.svc:5000/opendatahub/code-server-notebook:2023.2', - }, ], envFrom, image, diff --git a/frontend/src/__mocks__/mockPodK8sResource.ts b/frontend/src/__mocks__/mockPodK8sResource.ts index 74042351e6..d379ac584e 100644 --- a/frontend/src/__mocks__/mockPodK8sResource.ts +++ b/frontend/src/__mocks__/mockPodK8sResource.ts @@ -102,11 +102,6 @@ export const mockPodK8sResource = ({ value: '--ServerApp.port=8888\n --ServerApp.token=\'\'\n --ServerApp.password=\'\'\n --ServerApp.base_url=/notebook/project/workbench\n --ServerApp.quit_button=False\n --ServerApp.tornado_settings={"user":"user","hub_host":"http://localhost:4010","hub_prefix":"/projects/project"}', }, - { - name: 'JUPYTER_IMAGE', - value: - 'image-registry.openshift-image-registry.svc:5000/redhat-ods-applications/s2i-minimal-notebook:py3.8-v1', - }, { name: 'NB_PREFIX', value: '/notebook/project/workbench', diff --git a/frontend/src/api/k8s/notebooks.ts b/frontend/src/api/k8s/notebooks.ts index 99039899e2..a07274280c 100644 --- a/frontend/src/api/k8s/notebooks.ts +++ b/frontend/src/api/k8s/notebooks.ts @@ -137,10 +137,6 @@ export const assembleNotebook = ( --ServerApp.quit_button=False --ServerApp.tornado_settings={"user":"${translatedUsername}","hub_host":"${origin}","hub_prefix":"/projects/${projectName}"}`, }, - { - name: 'JUPYTER_IMAGE', - value: imageUrl, - }, ], envFrom, resources,