CONSOLE-2892: Allow dynamic plugins to proxy to services on the cluster#1020
Conversation
| CACertificate string `json:"caCertificate"` | ||
| // authorize indicates if the proxied request will contain | ||
| // user's OpenShift access token. By default the access token | ||
| // is not part of the proxied request. |
There was a problem hiding this comment.
You should mention how the token is passed in the Authorization request header.
|
@spadgett I've updated the PR. PTAL |
5dddb21 to
473eacc
Compare
|
PR is ready for final review. Console Approver: |
|
/lgtm |
|
/label docs-approved |
| // +kubebuilder:validation:Required | ||
| // +required | ||
| Service ConsolePluginService `json:"service"` | ||
| // proxy is a list of services that the plugin needs to connect to. |
There was a problem hiding this comment.
We should use consistent case throughout, either Services or services
| // proxy is a list of services that the plugin needs to connect to. | |
| // proxy is a list of Services that the plugin needs to connect to. |
|
@spadgett I've addressed your comments. lets the |
|
verified the changes in console-operator PR and it works |
| // ConsolePluginProxyService holds information on Service to which | ||
| // console's backend will proxy the plugin's requests. | ||
| type ConsolePluginProxyService struct { | ||
| // name of Service that the plugin needs to connect to. |
There was a problem hiding this comment.
nit: we're using inconsistent punctuation here and below where we don't have a .
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jhadvig, RickJWagner, spadgett The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Based on openshift/enhancements#915
ccing @vojtechszocs
/assign @spadgett @christianvogt