Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to local deployment (kind) the standalone console UI #124

Closed
eranra opened this issue Jun 19, 2022 · 5 comments · Fixed by #736
Closed

Add to local deployment (kind) the standalone console UI #124

eranra opened this issue Jun 19, 2022 · 5 comments · Fixed by #736
Labels
enhancement New feature or request

Comments

@eranra
Copy link
Contributor

eranra commented Jun 19, 2022

No description provided.

@eranra eranra added the enhancement New feature or request label Jun 19, 2022
@eranra
Copy link
Contributor Author

eranra commented Jun 19, 2022

@jpinsonneau ^^

@jpinsonneau
Copy link
Contributor

@eranra what about having all the time the standalone page hosted in the console plugin pod ? 😸
So you will be able to open the page from a specific route or use the plugin if available.

@eranra
Copy link
Contributor Author

eranra commented Jun 20, 2022

@jpinsonneau ^^^ this is an interesting thought ... what about authentication/security... is there a need for more work so this route will be secured somehow ???

@jpinsonneau
Copy link
Contributor

Yes this need additional authentication work on standalone page + backend and maybe more to define who can access.

Currently, if you access pod service (only within cluster by default), you access all our backend api.
For example forward plugin service using oc port-forward service/network-observability-plugin 9001:9001 -n network-observability
Then you can run queries like:
https://localhost:9001/api/loki/flows?filters=&limit=100&reporter=both&timeRange=300

There are no auth / token check since a proxy is automatically generated by console between plugin and the service: /api/proxy/plugin/<plugin-name>/<proxy-alias>/<request-path>?<optional-query-parameters>

@jotak
Copy link
Member

jotak commented Jun 21, 2022

Side note: in my README rewritting PR ( https://github.com/netobserv/network-observability-operator/pull/125/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R72 ) , I've left some space to mention the standalone console. I think it would be great to deploy it, not only for local deployment on kind, but more generally when the openshift console is not available. It's aligned with what Julien suggested, I guess.

jotak added a commit to jotak/network-observability-operator that referenced this issue Aug 9, 2024
- Remove the requirement to build our own image (requires
  netobserv/network-observability-console-plugin#576)
- Rewrite FAQ entry
- Add make target (make use-test-console)

Fixes netobserv#124
@jotak jotak closed this as completed in 8275dd6 Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants