diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c7905a2..7561a20 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -37,7 +37,7 @@ jobs: - name: Update artifacthub-pkg.yml version and URL run: | VERSION="${{ inputs.version }}" - RELEASE_URL="https://github.com/${{ github.repository }}/releases/download/v${VERSION}/headlamp-rook-ceph-plugin-${VERSION}.tar.gz" + RELEASE_URL="https://github.com/${{ github.repository }}/releases/download/v${VERSION}/headlamp-rook-plugin-${VERSION}.tar.gz" sed -i "s|^version:.*|version: \"${VERSION}\"|" artifacthub-pkg.yml sed -i "s|headlamp/plugin/archive-url:.*|headlamp/plugin/archive-url: \"${RELEASE_URL}\"|" artifacthub-pkg.yml @@ -59,7 +59,7 @@ jobs: - name: Validate tarball name run: | - EXPECTED="headlamp-rook-ceph-plugin-${{ inputs.version }}.tar.gz" + EXPECTED="headlamp-rook-plugin-${{ inputs.version }}.tar.gz" ACTUAL=$(ls *.tar.gz) if [ "$EXPECTED" != "$ACTUAL" ]; then echo "::error::Tarball name mismatch! Expected: $EXPECTED, Got: $ACTUAL" @@ -70,7 +70,7 @@ jobs: - name: Compute checksum id: compute_checksum run: | - TARBALL="headlamp-rook-ceph-plugin-${{ inputs.version }}.tar.gz" + TARBALL="headlamp-rook-plugin-${{ inputs.version }}.tar.gz" CHECKSUM=$(sha256sum "$TARBALL" | awk '{print $1}') echo "checksum=${CHECKSUM}" >> $GITHUB_OUTPUT echo "Checksum: sha256:${CHECKSUM}" @@ -95,7 +95,7 @@ jobs: uses: softprops/action-gh-release@v2 with: tag_name: "v${{ inputs.version }}" - files: headlamp-rook-ceph-plugin-${{ inputs.version }}.tar.gz + files: headlamp-rook-plugin-${{ inputs.version }}.tar.gz fail_on_unmatched_files: true draft: false prerelease: false diff --git a/CHANGELOG.md b/CHANGELOG.md index 492bd1a..c74f6f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -All notable changes to the Headlamp Rook-Ceph Plugin will be documented in this file. +All notable changes to the Headlamp Rook Plugin will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). @@ -50,8 +50,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - TypeScript strict mode with zero `any` types - ESLint + Prettier code quality tooling -[Unreleased]: https://github.com/cpfarhood/headlamp-rook-ceph-plugin/compare/v0.1.3...HEAD -[0.1.3]: https://github.com/cpfarhood/headlamp-rook-ceph-plugin/compare/v0.1.2...v0.1.3 -[0.1.2]: https://github.com/cpfarhood/headlamp-rook-ceph-plugin/compare/v0.1.1...v0.1.2 -[0.1.1]: https://github.com/cpfarhood/headlamp-rook-ceph-plugin/compare/v0.1.0...v0.1.1 -[0.1.0]: https://github.com/cpfarhood/headlamp-rook-ceph-plugin/releases/tag/v0.1.0 +[Unreleased]: https://github.com/cpfarhood/headlamp-rook-plugin/compare/v0.1.3...HEAD +[0.1.3]: https://github.com/cpfarhood/headlamp-rook-plugin/compare/v0.1.2...v0.1.3 +[0.1.2]: https://github.com/cpfarhood/headlamp-rook-plugin/compare/v0.1.1...v0.1.2 +[0.1.1]: https://github.com/cpfarhood/headlamp-rook-plugin/compare/v0.1.0...v0.1.1 +[0.1.0]: https://github.com/cpfarhood/headlamp-rook-plugin/releases/tag/v0.1.0 diff --git a/CLAUDE.md b/CLAUDE.md index c7bfc50..120c852 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -6,7 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co Headlamp plugin for Rook-Ceph cluster visibility. -- **Plugin name**: `headlamp-rook-ceph-plugin` +- **Plugin name**: `headlamp-rook-plugin` - **Rook-Ceph API group**: `ceph.rook.io/v1` - **Default namespace**: `rook-ceph` - **Reference plugin**: `../headlamp-tns-csi-plugin` diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 793280e..b3b6275 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,8 +5,8 @@ Contributions are welcome! Please open an issue before submitting large PRs. ## Development Setup ```bash -git clone https://github.com/cpfarhood/headlamp-rook-ceph-plugin.git -cd headlamp-rook-ceph-plugin +git clone https://github.com/cpfarhood/headlamp-rook-plugin.git +cd headlamp-rook-plugin npm install npm start # hot-reload dev server ``` diff --git a/README.md b/README.md index c6fe7fb..71848b3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Headlamp Rook-Ceph Plugin +# Headlamp Rook Plugin -[![CI](https://github.com/cpfarhood/headlamp-rook-ceph-plugin/actions/workflows/ci.yaml/badge.svg)](https://github.com/cpfarhood/headlamp-rook-ceph-plugin/actions/workflows/ci.yaml) +[![CI](https://github.com/cpfarhood/headlamp-rook-plugin/actions/workflows/ci.yaml/badge.svg)](https://github.com/cpfarhood/headlamp-rook-plugin/actions/workflows/ci.yaml) [![License: Apache-2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) A [Headlamp](https://headlamp.dev/) plugin that surfaces [Rook-Ceph](https://rook.io/) cluster health, storage resources, and CSI driver status directly in the Headlamp UI. @@ -53,16 +53,16 @@ Download the latest release tarball and place it in your Headlamp plugins direct ```bash # Download the latest release -curl -L https://github.com/cpfarhood/headlamp-rook-ceph-plugin/releases/latest/download/headlamp-rook-ceph-plugin-.tar.gz \ - -o headlamp-rook-ceph-plugin.tar.gz +curl -L https://github.com/cpfarhood/headlamp-rook-plugin/releases/latest/download/headlamp-rook-plugin-.tar.gz \ + -o headlamp-rook-plugin.tar.gz # Extract to Headlamp plugins directory -tar -xzf headlamp-rook-ceph-plugin.tar.gz -C ~/.config/Headlamp/plugins/ +tar -xzf headlamp-rook-plugin.tar.gz -C ~/.config/Headlamp/plugins/ ``` ### Option 2: Headlamp In-App Plugin Manager -Browse the Headlamp Plugin Manager (Settings → Plugins) and install **headlamp-rook-ceph-plugin** directly. +Browse the Headlamp Plugin Manager (Settings → Plugins) and install **headlamp-rook-plugin** directly. ## RBAC & Security Setup @@ -117,8 +117,8 @@ subjects: ### Setup ```bash -git clone https://github.com/cpfarhood/headlamp-rook-ceph-plugin.git -cd headlamp-rook-ceph-plugin +git clone https://github.com/cpfarhood/headlamp-rook-plugin.git +cd headlamp-rook-plugin npm install ``` diff --git a/SECURITY.md b/SECURITY.md index a773b59..04b4acc 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -8,7 +8,7 @@ ## Reporting a Vulnerability -Please report security vulnerabilities by opening a [GitHub Security Advisory](https://github.com/cpfarhood/headlamp-rook-ceph-plugin/security/advisories/new) rather than a public issue. +Please report security vulnerabilities by opening a [GitHub Security Advisory](https://github.com/cpfarhood/headlamp-rook-plugin/security/advisories/new) rather than a public issue. ## Scope diff --git a/artifacthub-pkg.yml b/artifacthub-pkg.yml index 0420cd6..7befc01 100644 --- a/artifacthub-pkg.yml +++ b/artifacthub-pkg.yml @@ -1,12 +1,12 @@ version: "0.1.3" -name: headlamp-rook-ceph-plugin -displayName: Rook-Ceph Plugin +name: headlamp-rook-plugin +displayName: Rook Plugin createdAt: "2026-02-18T00:00:00Z" description: Headlamp plugin for Rook-Ceph cluster visibility — CephCluster health, pool status, CSI driver monitoring, and native Headlamp StorageClass/PV integrations. logoPath: "" digest: "" license: Apache-2.0 -homeURL: https://github.com/privilegedescalation/headlamp-rook-ceph-plugin +homeURL: https://github.com/privilegedescalation/headlamp-rook-plugin keywords: - rook - ceph @@ -16,14 +16,14 @@ keywords: - kubernetes links: - name: source - url: https://github.com/privilegedescalation/headlamp-rook-ceph-plugin + url: https://github.com/privilegedescalation/headlamp-rook-plugin maintainers: - name: privilegedescalation email: privilegedescalation@users.noreply.github.com provider: name: privilegedescalation annotations: - headlamp/plugin/archive-url: "https://github.com/privilegedescalation/headlamp-rook-ceph-plugin/releases/download/v0.1.3/headlamp-rook-ceph-plugin-0.1.3.tar.gz" + headlamp/plugin/archive-url: "https://github.com/privilegedescalation/headlamp-rook-plugin/releases/download/v0.1.3/headlamp-rook-plugin-0.1.3.tar.gz" headlamp/plugin/archive-checksum: "sha256:01611912597b4739ca62cd1f4ae0dd42755bb8e3541dafa5dedbfdcf1202072e" headlamp/plugin/distro-compat: "" headlamp/plugin/version-compat: ">=0.20" diff --git a/package-lock.json b/package-lock.json index be138ad..c75bf4c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "headlamp-rook-ceph-plugin", + "name": "headlamp-rook-plugin", "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "headlamp-rook-ceph-plugin", + "name": "headlamp-rook-plugin", "version": "0.1.0", "license": "Apache-2.0", "devDependencies": { diff --git a/package.json b/package.json index 7f0c492..6295e4c 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,15 @@ { - "name": "headlamp-rook-ceph-plugin", + "name": "headlamp-rook-plugin", "version": "0.1.3", "description": "Headlamp plugin for Rook-Ceph cluster visibility and CSI driver monitoring", "repository": { "type": "git", - "url": "https://github.com/privilegedescalation/headlamp-rook-ceph-plugin.git" + "url": "https://github.com/privilegedescalation/headlamp-rook-plugin.git" }, "bugs": { - "url": "https://github.com/privilegedescalation/headlamp-rook-ceph-plugin/issues" + "url": "https://github.com/privilegedescalation/headlamp-rook-plugin/issues" }, - "homepage": "https://github.com/privilegedescalation/headlamp-rook-ceph-plugin#readme", + "homepage": "https://github.com/privilegedescalation/headlamp-rook-plugin#readme", "author": "privilegedescalation", "license": "Apache-2.0", "scripts": { diff --git a/src/index.tsx b/src/index.tsx index 88111e8..7f269d8 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,5 +1,5 @@ /** - * headlamp-rook-ceph-plugin — entry point. + * headlamp-rook-plugin — entry point. * * Registers sidebar entries, routes, detail view sections, table column * processors, and app bar action for Rook-Ceph visibility in Headlamp.