Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b9e9484bf0 | |||
| 22d88cfca4 | |||
| 48dcb214b9 | |||
| 762056e46c | |||
| f2a2176eb6 | |||
| 73939e66ad | |||
| 2c26d49bf9 | |||
| 679be5dedc |
@@ -168,7 +168,7 @@ jobs:
|
|||||||
git config user.email "gitea-actions[bot]@git.farh.net"
|
git config user.email "gitea-actions[bot]@git.farh.net"
|
||||||
# Determine which Gitea branch to update based on version suffix
|
# Determine which Gitea branch to update based on version suffix
|
||||||
if [[ "$VERSION" == *"-dev."* ]]; then
|
if [[ "$VERSION" == *"-dev."* ]]; then
|
||||||
GITEA_BRANCH="dev/namespace-drawer"
|
GITEA_BRANCH="dev"
|
||||||
else
|
else
|
||||||
GITEA_BRANCH="main"
|
GITEA_BRANCH="main"
|
||||||
fi
|
fi
|
||||||
@@ -187,10 +187,15 @@ jobs:
|
|||||||
# that the release checksum already matches and skip the build.
|
# that the release checksum already matches and skip the build.
|
||||||
git tag -f ${GITHUB_REF_NAME}
|
git tag -f ${GITHUB_REF_NAME}
|
||||||
git push -f origin ${GITHUB_REF_NAME}
|
git push -f origin ${GITHUB_REF_NAME}
|
||||||
# Also push to GitHub directly to avoid waiting for mirror sync
|
# Only push to GitHub main branch for STABLE releases
|
||||||
# Single repo pattern: both stable and dev releases go to same GitHub repo
|
# Dev releases only create GitHub releases, don't update main branch
|
||||||
# ArtifactHub will differentiate based on prerelease flag in metadata
|
# This keeps GitHub main branch at latest stable for ArtifactHub
|
||||||
git remote add github https://x-access-token:${{ secrets.GH_PAT }}@github.com/cpfarhood/headlamp-polaris-plugin.git 2>/dev/null || true
|
git remote add github https://x-access-token:${{ secrets.GH_PAT }}@github.com/cpfarhood/headlamp-polaris-plugin.git 2>/dev/null || true
|
||||||
git push github temp-update:main 2>/dev/null || true
|
if [[ "$VERSION" != *"-dev."* ]]; then
|
||||||
|
echo "Stable release detected - pushing to GitHub main branch"
|
||||||
|
git push github temp-update:main 2>/dev/null || true
|
||||||
|
else
|
||||||
|
echo "Dev release detected - skipping GitHub main branch update"
|
||||||
|
fi
|
||||||
git push -f github ${GITHUB_REF_NAME} 2>/dev/null || true
|
git push -f github ${GITHUB_REF_NAME} 2>/dev/null || true
|
||||||
echo "Tag ${GITHUB_REF_NAME} aligned with updated metadata"
|
echo "Tag ${GITHUB_REF_NAME} aligned with updated metadata"
|
||||||
|
|||||||
@@ -83,6 +83,10 @@ npm run build
|
|||||||
npx @kinvolk/headlamp-plugin extract . /headlamp/plugins
|
npx @kinvolk/headlamp-plugin extract . /headlamp/plugins
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Installing Dev/Preview Versions
|
||||||
|
|
||||||
|
Dev preview versions are **not currently available** through the Headlamp plugin manager. Stable versions can be installed from ArtifactHub via the plugin manager UI.
|
||||||
|
|
||||||
## RBAC / Security Setup
|
## RBAC / Security Setup
|
||||||
|
|
||||||
The plugin fetches audit data through the Kubernetes API server's **service proxy** sub-resource. The identity making the request (Headlamp's service account, or the user's own token in token-auth mode) must be granted:
|
The plugin fetches audit data through the Kubernetes API server's **service proxy** sub-resource. The identity making the request (Headlamp's service account, or the user's own token in token-auth mode) must be granted:
|
||||||
|
|||||||
+3
-3
@@ -1,4 +1,4 @@
|
|||||||
version: 0.2.0-dev.4
|
version: 0.1.7
|
||||||
name: headlamp-polaris-plugin
|
name: headlamp-polaris-plugin
|
||||||
displayName: Polaris
|
displayName: Polaris
|
||||||
createdAt: "2026-02-05T19:00:00Z"
|
createdAt: "2026-02-05T19:00:00Z"
|
||||||
@@ -28,7 +28,7 @@ maintainers:
|
|||||||
- name: cpfarhood
|
- name: cpfarhood
|
||||||
email: "chris@farhood.org"
|
email: "chris@farhood.org"
|
||||||
annotations:
|
annotations:
|
||||||
headlamp/plugin/archive-url: "https://github.com/cpfarhood/headlamp-polaris-plugin/releases/download/v0.2.0-dev.4/headlamp-polaris-plugin-0.2.0-dev.4.tar.gz"
|
headlamp/plugin/archive-url: "https://github.com/cpfarhood/headlamp-polaris-plugin/releases/download/v0.1.7/headlamp-polaris-plugin-0.1.7.tar.gz"
|
||||||
headlamp/plugin/version-compat: ">=0.26"
|
headlamp/plugin/version-compat: ">=0.26"
|
||||||
headlamp/plugin/archive-checksum: sha256:70d46b8b478326794646bd90f9b4178c3010310509feecbe40305622954436a4
|
headlamp/plugin/archive-checksum: sha256:0000000000000000000000000000000000000000000000000000000000000000
|
||||||
headlamp/plugin/distro-compat: in-cluster
|
headlamp/plugin/distro-compat: in-cluster
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "headlamp-polaris-plugin",
|
"name": "headlamp-polaris-plugin",
|
||||||
"version": "0.1.6",
|
"version": "0.1.7",
|
||||||
"description": "Headlamp plugin for Fairwinds Polaris audit results",
|
"description": "Headlamp plugin for Fairwinds Polaris audit results",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "headlamp-plugin start",
|
"start": "headlamp-plugin start",
|
||||||
|
|||||||
Reference in New Issue
Block a user