Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/setup-plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if (!fs.existsSync(path.join(ROOT_DIR, 'headlamp'))) {
}

// List of plugins to build and bundle
const PLUGINS = ['aks-desktop', 'ai-assistant', 'insights-plugin'];
const PLUGINS = ['aks-desktop', 'ai-assistant', 'insights-plugin', 'plugin-catalog'];

for (const plugin of PLUGINS) {
const pluginDir = path.join(ROOT_DIR, 'plugins', plugin);
Expand Down
30 changes: 30 additions & 0 deletions plugins/plugin-catalog/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

# The output for npm run storybook-book, static html built storybook for the plugin
storybook-static

/dist

.eslintcache
38 changes: 38 additions & 0 deletions plugins/plugin-catalog/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Plugin Catalog

This plugin enhances Headlamp by adding a plugin catalog powered by ArtifactHub.

## Developing Headlamp Plugins

### Setting up the Environment

1. Run the Headlamp app from the main branch:

```bash
cd headlamp-k8s/headlamp/app
npm install
npm start
```

2. Set up the Plugin Catalog:

```bash
cd headlamp-k8s/plugins/plugin-catalog
npm install
npm start
```

After completing these steps, you'll see the Plugin Catalog link in the sidebar.

### Additional Resources

For comprehensive information on developing Headlamp plugins, explore the following resources:

- [Getting Started Guide](https://headlamp.dev/docs/latest/development/plugins/): Learn how to create a new Headlamp plugin.
- [API Reference](https://headlamp.dev/docs/latest/development/api/): Detailed documentation of available APIs.
- [UI Component Storybook](https://headlamp.dev/docs/latest/development/frontend/#storybook): Discover pre-existing components for your plugin.
- [Plugin Examples](https://github.com/headlamp-k8s/headlamp/tree/main/plugins/examples): Explore real-world plugin implementations.

## Contributing

We welcome contributions! If you have ideas for improvements or encounter any issues, please open an issue or submit a pull request on our [GitHub repository](https://github.com/headlamp-k8s/plugins).
42 changes: 42 additions & 0 deletions plugins/plugin-catalog/locales/cs/translation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"Reload Now": "",
"Close": "",
"Settings": "",
"Update": "",
"Uninstall": "",
"Install": "",
"Name": "",
"Description": "",
"Available Version": "",
"Available version": "",
"(latest)": "",
"Installed Version": "",
"Repository": "",
"Author": "",
"{{action}} completed successfully.": "",
"Error: {{message}}": "",
"An unexpected error occurred: {{error}}": "",
"Failed to load details for version {{version}}: {{message}}": "",
"Installed": "",
"Go to all installed plugins": "",
"Error loading Installed plugins: {{error}}": "",
"From the Plugin Catalog": "",
"Version": "",
"No plugins installed from the Plugin Catalog": "",
"Other Plugins": "",
"Unknown": "",
"No plugins installed": "",
"AKS optimized": "",
"Do you want to show plugins that are not AKS optimized?": "",
"Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?": "",
"Plugins": "",
"Search": "",
"No plugins found": "",
"Loading": "",
"Cancel": "",
"Installation progress": "",
"Official Chart": "",
"Verified Publisher": "",
"Update available": "",
"Display only AKS optimized Plugins": ""
}
42 changes: 42 additions & 0 deletions plugins/plugin-catalog/locales/de/translation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"Reload Now": "",
"Close": "",
"Settings": "",
"Update": "",
"Uninstall": "",
"Install": "",
"Name": "",
"Description": "",
"Available Version": "",
"Available version": "",
"(latest)": "",
"Installed Version": "",
"Repository": "",
"Author": "",
"{{action}} completed successfully.": "",
"Error: {{message}}": "",
"An unexpected error occurred: {{error}}": "",
"Failed to load details for version {{version}}: {{message}}": "",
"Installed": "",
"Go to all installed plugins": "",
"Error loading Installed plugins: {{error}}": "",
"From the Plugin Catalog": "",
"Version": "",
"No plugins installed from the Plugin Catalog": "",
"Other Plugins": "",
"Unknown": "",
"No plugins installed": "",
"AKS optimized": "",
"Do you want to show plugins that are not AKS optimized?": "",
"Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?": "",
"Plugins": "",
"Search": "",
"No plugins found": "",
"Loading": "",
"Cancel": "",
"Installation progress": "",
"Official Chart": "",
"Verified Publisher": "",
"Update available": "",
"Display only AKS optimized Plugins": ""
}
42 changes: 42 additions & 0 deletions plugins/plugin-catalog/locales/en/translation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"Reload Now": "Reload Now",
"Close": "Close",
"Settings": "Settings",
"Update": "Update",
"Uninstall": "Uninstall",
"Install": "Install",
"Name": "Name",
"Description": "Description",
"Available Version": "Available Version",
"Available version": "Available version",
"(latest)": "(latest)",
"Installed Version": "Installed Version",
"Repository": "Repository",
"Author": "Author",
"{{action}} completed successfully.": "{{action}} completed successfully.",
"Error: {{message}}": "Error: {{message}}",
"An unexpected error occurred: {{error}}": "An unexpected error occurred: {{error}}",
"Failed to load details for version {{version}}: {{message}}": "Failed to load details for version {{version}}: {{message}}",
"Installed": "Installed",
"Go to all installed plugins": "Go to all installed plugins",
"Error loading Installed plugins: {{error}}": "Error loading Installed plugins: {{error}}",
"From the Plugin Catalog": "From the Plugin Catalog",
"Version": "Version",
"No plugins installed from the Plugin Catalog": "No plugins installed from the Plugin Catalog",
"Other Plugins": "Other Plugins",
"Unknown": "Unknown",
"No plugins installed": "No plugins installed",
"AKS optimized": "AKS optimized",
"Do you want to show plugins that are not AKS optimized?": "Do you want to show plugins that are not AKS optimized?",
"Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?": "Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?",
"Plugins": "Plugins",
"Search": "Search",
"No plugins found": "No plugins found",
"Loading": "Loading",
"Cancel": "Cancel",
"Installation progress": "Installation progress",
"Official Chart": "Official Chart",
"Verified Publisher": "Verified Publisher",
"Update available": "Update available",
"Display only AKS optimized Plugins": "Display only AKS optimized Plugins"
}
42 changes: 42 additions & 0 deletions plugins/plugin-catalog/locales/es/translation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"Reload Now": "",
"Close": "",
"Settings": "",
"Update": "",
"Uninstall": "",
"Install": "",
"Name": "",
"Description": "",
"Available Version": "",
"Available version": "",
"(latest)": "",
"Installed Version": "",
"Repository": "",
"Author": "",
"{{action}} completed successfully.": "",
"Error: {{message}}": "",
"An unexpected error occurred: {{error}}": "",
"Failed to load details for version {{version}}: {{message}}": "",
"Installed": "",
"Go to all installed plugins": "",
"Error loading Installed plugins: {{error}}": "",
"From the Plugin Catalog": "",
"Version": "",
"No plugins installed from the Plugin Catalog": "",
"Other Plugins": "",
"Unknown": "",
"No plugins installed": "",
"AKS optimized": "",
"Do you want to show plugins that are not AKS optimized?": "",
"Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?": "",
"Plugins": "",
"Search": "",
"No plugins found": "",
"Loading": "",
"Cancel": "",
"Installation progress": "",
"Official Chart": "",
"Verified Publisher": "",
"Update available": "",
"Display only AKS optimized Plugins": ""
}
42 changes: 42 additions & 0 deletions plugins/plugin-catalog/locales/fr/translation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"Reload Now": "",
"Close": "",
"Settings": "",
"Update": "",
"Uninstall": "",
"Install": "",
"Name": "",
"Description": "",
"Available Version": "",
"Available version": "",
"(latest)": "",
"Installed Version": "",
"Repository": "",
"Author": "",
"{{action}} completed successfully.": "",
"Error: {{message}}": "",
"An unexpected error occurred: {{error}}": "",
"Failed to load details for version {{version}}: {{message}}": "",
"Installed": "",
"Go to all installed plugins": "",
"Error loading Installed plugins: {{error}}": "",
"From the Plugin Catalog": "",
"Version": "",
"No plugins installed from the Plugin Catalog": "",
"Other Plugins": "",
"Unknown": "",
"No plugins installed": "",
"AKS optimized": "",
"Do you want to show plugins that are not AKS optimized?": "",
"Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?": "",
"Plugins": "",
"Search": "",
"No plugins found": "",
"Loading": "",
"Cancel": "",
"Installation progress": "",
"Official Chart": "",
"Verified Publisher": "",
"Update available": "",
"Display only AKS optimized Plugins": ""
}
42 changes: 42 additions & 0 deletions plugins/plugin-catalog/locales/hu/translation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"Reload Now": "",
"Close": "",
"Settings": "",
"Update": "",
"Uninstall": "",
"Install": "",
"Name": "",
"Description": "",
"Available Version": "",
"Available version": "",
"(latest)": "",
"Installed Version": "",
"Repository": "",
"Author": "",
"{{action}} completed successfully.": "",
"Error: {{message}}": "",
"An unexpected error occurred: {{error}}": "",
"Failed to load details for version {{version}}: {{message}}": "",
"Installed": "",
"Go to all installed plugins": "",
"Error loading Installed plugins: {{error}}": "",
"From the Plugin Catalog": "",
"Version": "",
"No plugins installed from the Plugin Catalog": "",
"Other Plugins": "",
"Unknown": "",
"No plugins installed": "",
"AKS optimized": "",
"Do you want to show plugins that are not AKS optimized?": "",
"Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?": "",
"Plugins": "",
"Search": "",
"No plugins found": "",
"Loading": "",
"Cancel": "",
"Installation progress": "",
"Official Chart": "",
"Verified Publisher": "",
"Update available": "",
"Display only AKS optimized Plugins": ""
}
42 changes: 42 additions & 0 deletions plugins/plugin-catalog/locales/id/translation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"Reload Now": "",
"Close": "",
"Settings": "",
"Update": "",
"Uninstall": "",
"Install": "",
"Name": "",
"Description": "",
"Available Version": "",
"Available version": "",
"(latest)": "",
"Installed Version": "",
"Repository": "",
"Author": "",
"{{action}} completed successfully.": "",
"Error: {{message}}": "",
"An unexpected error occurred: {{error}}": "",
"Failed to load details for version {{version}}: {{message}}": "",
"Installed": "",
"Go to all installed plugins": "",
"Error loading Installed plugins: {{error}}": "",
"From the Plugin Catalog": "",
"Version": "",
"No plugins installed from the Plugin Catalog": "",
"Other Plugins": "",
"Unknown": "",
"No plugins installed": "",
"AKS optimized": "",
"Do you want to show plugins that are not AKS optimized?": "",
"Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?": "",
"Plugins": "",
"Search": "",
"No plugins found": "",
"Loading": "",
"Cancel": "",
"Installation progress": "",
"Official Chart": "",
"Verified Publisher": "",
"Update available": "",
"Display only AKS optimized Plugins": ""
}
Loading
Loading