fix: correct Artifact Hub metadata for plugin publication
Fixed Artifact Hub validation issues:
**Checksum Format**:
- Changed from raw checksum to "SHA256:checksum" format
- This is required by Artifact Hub for Headlamp plugins
- Example: SHA256:55a1a387d65a8d92545033670d07dedd77a72fd228125331ab93136f8ac87f1c
**Added Required Annotations**:
- headlamp/plugin/version-compat: ">=0.13.0" - Headlamp version compatibility
- headlamp/plugin/distro-compat: "desktop,in-cluster,web,docker-desktop" - Distribution support
**Directory Structure**:
- Created proper package structure: headlamp-sealed-secrets-plugin/0.2.0/
- Copied artifacthub-pkg.yml to version directory
- Copied README.md for package documentation
- Follows Artifact Hub Headlamp plugin requirements
**Repository Structure**:
```
.
├── artifacthub-repo.yml (repository metadata)
└── headlamp-sealed-secrets-plugin/
└── 0.2.0/
├── artifacthub-pkg.yml (package metadata)
└── README.md (package docs)
```
References:
- https://artifacthub.io/docs/topics/annotations/headlamp/
- https://artifacthub.io/docs/topics/repositories/headlamp-plugins/
- https://github.com/headlamp-k8s/plugins (official examples)
This should resolve the Artifact Hub validation errors and allow
the plugin to be published successfully.
Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
@@ -20,8 +20,10 @@ keywords:
|
||||
- encryption
|
||||
- security
|
||||
annotations:
|
||||
headlamp/plugin/archive-url: https://github.com/cpfarhood/headlamp-sealed-secrets-plugin/releases/download/v0.2.0/headlamp-sealed-secrets-0.2.0.tar.gz
|
||||
headlamp/plugin/archive-checksum: 55a1a387d65a8d92545033670d07dedd77a72fd228125331ab93136f8ac87f1c
|
||||
headlamp/plugin/archive-url: "https://github.com/cpfarhood/headlamp-sealed-secrets-plugin/releases/download/v0.2.0/headlamp-sealed-secrets-0.2.0.tar.gz"
|
||||
headlamp/plugin/archive-checksum: "SHA256:55a1a387d65a8d92545033670d07dedd77a72fd228125331ab93136f8ac87f1c"
|
||||
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/cpfarhood/headlamp-sealed-secrets-plugin
|
||||
|
||||
Reference in New Issue
Block a user