From c188c70093ab7ac22b4a5a1bdf56fda59e1398f6 Mon Sep 17 00:00:00 2001 From: Francesco Ilario Date: Mon, 18 Nov 2024 13:29:20 +0100 Subject: [PATCH] remove workspaces endpoint from proxy's UI Signed-off-by: Francesco Ilario --- components/ui/base/proxy/nginx.conf | 7 ------- 1 file changed, 7 deletions(-) diff --git a/components/ui/base/proxy/nginx.conf b/components/ui/base/proxy/nginx.conf index 987f7f0f7c2..b83ed571eb1 100644 --- a/components/ui/base/proxy/nginx.conf +++ b/components/ui/base/proxy/nginx.conf @@ -52,13 +52,6 @@ http { proxy_pass http://registration-service.toolchain-host-operator.svc.cluster.local/; } - location /api/k8s/apis/workspaces.konflux-ci.dev/ { - # workspaces expects requests under the traditional API paths for - # kubernetes api servers, so we need to strip /api/k8s from them - rewrite ^/api/k8s/(.*)$ /$1 break; - proxy_pass http://workspaces-rest-api-server.workspaces-system.svc.cluster.local:8000/; - } - location /api/k8s/ { # Kube-API proxy_pass http://api.toolchain-host-operator.svc.cluster.local/;