Skip to content

Commit

Permalink
Fix: Allow nginx access to validate cluster tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
phantomjinx committed Jun 5, 2024
1 parent 843c5c3 commit e81760b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/nginx.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ var masterUrlPatterns = [
/\/master\/apis\/user.openshift.io\/v1\/users\/~$/,
// OpenShift projects (for cluster-mode)
/\/master\/apis\/project.openshift.io\/v1\/projects(\?.*)?/,
// Kubernetes Token Login Validation
/\/master\/api/,
// Kubernetes namespaces (for cluster-mode)
/\/master\/api\/v1\/namespaces(\?.*)?/,
// Kubernetes Pods in a wildcard namespace to be converted to websocket
Expand Down

0 comments on commit e81760b

Please sign in to comment.