headlamp-k8s / headlamp

A Kubernetes web UI that is fully-featured, user-friendly and extensible
https://headlamp.dev
Apache License 2.0
2.22k stars 156 forks source link

Headlamp Icons does not load in isolated environment. #1103

Closed jgyy closed 1 year ago

jgyy commented 1 year ago

I am trying to host headlamp in cluster on an isolated environment without internet access. However the frontend dashboard is trying to load the following icons from the internet (links below) which will not work at all if I am accessing the dashboard from an isolated environment without internet access.

Can somebody look into it and make the icons load as assets locally instead of trying to fetch a public icon? Not just icons, any other public CDN will not work in isolated environment. Thanks!

https://api.iconify.design/mdi.json https://api.simplesvg.com/mdi.json https://api.unisvg.com/mdi.json

illume commented 1 year ago

Hello.

There are a number of fixes for this merged into main. We are going to do another release this week (hopefully).

best regards,

jgyy commented 1 year ago

I hope the list of fixes also includes having local icon assets though. thanks anyway

joaquimrocha commented 1 year ago

@jgyy , thanks. Closing this as it should be now available as mentioned. If you spot any missing icon, please let us know. We will also work on a way to detect any missing icons from the cache in #1109 .