Skip to content

api: add proxy for web UI to access apiserver#4633

Merged
milas merged 2 commits into
masterfrom
milas/k8s-proxy
Jun 11, 2021
Merged

api: add proxy for web UI to access apiserver#4633
milas merged 2 commits into
masterfrom
milas/k8s-proxy

Conversation

@milas

@milas milas commented Jun 10, 2021

Copy link
Copy Markdown
Contributor

Use kubectl proxy code to provide the HUD with access to
apiserver routes.

Currently, this is restriction to JUST UIButton routes via
a path matcher on the handler. In the future, we'll use the
real apiserver authorization system here to configure an
unauthenticated/anonymous role for the UI for safe API access.

@milas
milas requested review from landism and nicks June 10, 2021 17:44
Use `kubectl proxy` code to provide the HUD with access to
apiserver routes.

Currently, this is restriction to JUST `UIButton` routes via
a path matcher on the handler. In the future, we'll use the
real apiserver authorization system here to configure an
unauthenticated/anonymous role for the UI for safe API access.
@milas
milas force-pushed the milas/k8s-proxy branch from 91cf4fd to b20e8ea Compare June 10, 2021 17:45
@milas
milas merged commit dc0688e into master Jun 11, 2021
@milas
milas deleted the milas/k8s-proxy branch June 11, 2021 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants