cyclops-ui / cyclops

customizable UI for Kubernetes workloads 👁️
https://cyclops-ui.com
Apache License 2.0
582 stars 60 forks source link

Add expose button to `service` deployed by the module #388

Open hanshal101 opened 1 week ago

hanshal101 commented 1 week ago

Feature Request

Add expose button to the services deployed by the module. It should expose the port and redirect to the page itself if err is not nil. Something like this:

const [port, err] = handleExpose();
if (err !== undefined) {
  notification(err)
} else {
  window.location.href = `http://localhost:${port}`;
}
hanshal101 commented 1 week ago

I'll work on this issue