headlamp-k8s / headlamp

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

Plugins not getting loaded #2577

Open mzameer777 opened 3 hours ago

mzameer777 commented 3 hours ago

Describe the bug

On Mac when we run the plugin locally the plugin gets copied to different location then the default location from where the plugins are loaded. Had to copy the plugins to the correct location to load the plugin in headlamp

To Reproduce

Steps to reproduce the bug: Install headlamp using brew on mac Run the my-plugin template using npm start

Workaround: Had to copy the generated plugin to correct location to load the plugin

illume commented 3 hours ago

headlamp/plugins/headlamp-plugin/bin/headlamp-plugin.js start function

headlamp/backend/pkg/config/config.go defaultPluginDir