From bcace9db3e999d543b37ead40b88801315b122ec Mon Sep 17 00:00:00 2001 From: Francesco Ilario Date: Mon, 18 Nov 2024 13:33:33 +0100 Subject: [PATCH] remove workspaces endpoint from proxy's UI (#4926) 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/;