9da27f4186
Adds full plugin starter template including: - package.json with @kinvolk/headlamp-plugin devDependency and standard scripts - tsconfig.json extending headlamp plugin config - vitest.config.mts + vitest.setup.ts (jsdom, NODE_ENV=test, localStorage shim) - src/index.tsx: registers sidebar entry and route for ResourceListPage - src/components/ResourceListPage.tsx: placeholder CRD list view with TODO guide - src/components/ResourceListPage.test.tsx: example tests using vi.mock pattern - .github/workflows/ci.yaml: delegates to shared plugin-ci.yaml - .github/workflows/release.yaml: delegates to shared plugin-release.yaml - artifacthub-pkg.yml + artifacthub-repo.yml: ArtifactHub metadata with TODO markers - renovate.json: Mend Renovate config for weekly dependency updates - README.md: complete getting-started guide - CONTRIBUTING.md: local dev, code style, testing, PR process - LICENSE: Apache-2.0 Co-Authored-By: Paperclip <noreply@paperclip.ing>
25 lines
1.2 KiB
YAML
25 lines
1.2 KiB
YAML
# Artifact Hub package metadata
|
|
# https://artifacthub.io/docs/topics/repositories/headlamp-plugins/
|
|
# Replace ALL placeholder values before publishing.
|
|
|
|
version: "0.1.0"
|
|
name: my-headlamp-plugin # TODO: change to your plugin name (lowercase, hyphens)
|
|
displayName: My Headlamp Plugin # TODO: human-readable display name
|
|
createdAt: "2026-01-01T00:00:00Z" # TODO: set to your initial release date
|
|
description: A Headlamp plugin for Kubernetes # TODO: describe your plugin
|
|
license: Apache-2.0
|
|
homeURL: https://github.com/YOUR_ORG/YOUR_REPO # TODO: update
|
|
appVersion: "0.1.0" # TODO: version of the app this plugin targets
|
|
keywords:
|
|
- headlamp
|
|
- kubernetes
|
|
# TODO: add your plugin-specific keywords
|
|
annotations:
|
|
headlamp/plugin/archive-url: "https://github.com/YOUR_ORG/YOUR_REPO/releases/download/v0.1.0/my-headlamp-plugin-0.1.0.tar.gz" # TODO: update per release
|
|
headlamp/plugin/archive-checksum: "sha256:REPLACE_WITH_ACTUAL_CHECKSUM" # TODO: compute from release artifact
|
|
headlamp/plugin/version-compat: ">=0.13.0"
|
|
headlamp/plugin/distro-compat: "desktop,in-cluster,web,docker-desktop"
|
|
links:
|
|
- name: Source Code
|
|
url: https://github.com/YOUR_ORG/YOUR_REPO # TODO: update
|