Skip to content

Commit

Permalink
remove workspaces endpoint from proxy's UI (#4926)
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Ilario <[email protected]>
  • Loading branch information
filariow authored Nov 18, 2024
1 parent 6539875 commit bcace9d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions components/ui/base/proxy/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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/;
Expand Down

0 comments on commit bcace9d

Please sign in to comment.