Compare commits
39 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 280a0a60cd | |||
| f8eeac9b5b | |||
| f03a27bedc | |||
| ec1acbb130 | |||
| 5907a494d0 | |||
| 5e6cd6603b | |||
| d7cbe969fb | |||
| 2ba0751443 | |||
| e52d995123 | |||
| 791935947d | |||
| 639e4eaa68 | |||
| 69db99d3d1 | |||
| a051ffafed | |||
| 7f03ae6265 | |||
| 53fce54df8 | |||
| 6c6e8a55ce | |||
| 483348aef0 | |||
| 9502ca804d | |||
| 76d0e106b2 | |||
| 63050174e9 | |||
| cd1fa2613d | |||
| bfeb1068bb | |||
| 2aff05b632 | |||
| d37431ce8c | |||
| b2a97cdcad | |||
| 73b2baec9d | |||
| 36e220660d | |||
| 51e68b1b88 | |||
| 48d704a6b6 | |||
| b0cefdbe24 | |||
| 92f8c958d8 | |||
| 22fea9a99d | |||
| 73fb1359ed | |||
| cf9e0513b9 | |||
| 733cfad8d3 | |||
| 5aa54a526b | |||
| 83aa0329b3 | |||
| 8f343be06d | |||
| def89f8d71 |
@@ -6,6 +6,19 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches: [main, dev, uat]
|
branches: [main, dev, uat]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
node-version:
|
||||||
|
description: 'Node.js version to use'
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: '22'
|
||||||
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
node-version:
|
||||||
|
description: 'Node.js version to use'
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: '22'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -87,7 +100,7 @@ jobs:
|
|||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: '22'
|
node-version: ${{ inputs.node-version || '22' }}
|
||||||
cache: ${{ steps.pkg-manager.outputs.manager == 'npm' && 'npm' || '' }}
|
cache: ${{ steps.pkg-manager.outputs.manager == 'npm' && 'npm' || '' }}
|
||||||
|
|
||||||
- name: Setup pnpm (via Corepack, reads version from packageManager field)
|
- name: Setup pnpm (via Corepack, reads version from packageManager field)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
name: Promotion Gate
|
name: Promotion Gate
|
||||||
|
|
||||||
# Calls the shared promotion gate workflow.
|
|
||||||
# dev PRs: no gate (engineer self-merges).
|
# dev PRs: no gate (engineer self-merges).
|
||||||
# uat PRs: QA approval required.
|
# uat PRs: QA approval required.
|
||||||
# main PRs: UAT approval required (uat→main promotions).
|
# main PRs: UAT approval required (uat→main promotions).
|
||||||
@@ -14,8 +13,101 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
promotion-gate:
|
promotion-gate:
|
||||||
uses: privilegedescalation/.github/.github/workflows/dual-approval-check.yaml@main
|
name: Promotion Gate
|
||||||
secrets: inherit
|
runs-on: ubuntu-latest
|
||||||
with:
|
timeout-minutes: 5
|
||||||
pr_number: ${{ github.event.pull_request.number }}
|
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check promotion approval
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
|
REPO: ${{ github.repository }}
|
||||||
|
BASE_REF: ${{ github.base_ref }}
|
||||||
|
run: |
|
||||||
|
if [ -z "${PR_NUMBER}" ] || [ "${PR_NUMBER}" = "null" ]; then
|
||||||
|
echo "::notice::No PR number in context. Skipping promotion gate."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Checking promotion gate for PR #${PR_NUMBER} targeting ${BASE_REF} in ${REPO}"
|
||||||
|
|
||||||
|
if [ -z "${BASE_REF}" ] && [ -n "${PR_NUMBER}" ] && [ "${PR_NUMBER}" != "null" ]; then
|
||||||
|
BASE_REF=$(curl -sf \
|
||||||
|
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||||
|
-H "Accept: application/json" \
|
||||||
|
"https://git.farh.net/api/v1/repos/${REPO}/pulls/${PR_NUMBER}" | jq -r '.base.ref')
|
||||||
|
echo "BASE_REF was empty; resolved from PR #${PR_NUMBER} API: ${BASE_REF}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Determine required reviewer based on target branch
|
||||||
|
case "${BASE_REF}" in
|
||||||
|
dev)
|
||||||
|
echo "Target is dev — no review required. Engineers self-merge."
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
uat)
|
||||||
|
REQUIRED_REVIEWER="pe_regina"
|
||||||
|
GATE_NAME="QA"
|
||||||
|
;;
|
||||||
|
main)
|
||||||
|
REQUIRED_REVIEWER="pe_regina"
|
||||||
|
GATE_NAME="QA"
|
||||||
|
# For plugin repos (Pipeline A), UAT approval is needed for uat→main
|
||||||
|
# Check if the source branch is uat
|
||||||
|
SOURCE_REF=$(curl -sf \
|
||||||
|
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||||
|
-H "Accept: application/json" \
|
||||||
|
"https://git.farh.net/api/v1/repos/${REPO}/pulls/${PR_NUMBER}" | jq -r '.head.ref')
|
||||||
|
|
||||||
|
if [ "${SOURCE_REF}" = "uat" ]; then
|
||||||
|
REQUIRED_REVIEWER="pe_patty"
|
||||||
|
GATE_NAME="UAT"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "::notice::Target branch '${BASE_REF}' has no promotion gate configured."
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
echo "Required reviewer: ${REQUIRED_REVIEWER} (${GATE_NAME})"
|
||||||
|
|
||||||
|
# For uat→main promotions, pe_patty may not be able to review (bot account).
|
||||||
|
# Accept pe_nancy (CTO) as a valid alternative reviewer.
|
||||||
|
ALT_REVIEWER=""
|
||||||
|
if [ "${REQUIRED_REVIEWER}" = "pe_patty" ]; then
|
||||||
|
ALT_REVIEWER="pe_nancy"
|
||||||
|
fi
|
||||||
|
|
||||||
|
REVIEWS=$(curl -sf \
|
||||||
|
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||||
|
-H "Accept: application/json" \
|
||||||
|
"https://git.farh.net/api/v1/repos/${REPO}/pulls/${PR_NUMBER}/reviews" \
|
||||||
|
| python3 -c 'import sys,json; json.dump(json.load(sys.stdin),sys.stdout)')
|
||||||
|
|
||||||
|
if [ -z "${REVIEWS}" ] || [ "${REVIEWS}" = "null" ]; then
|
||||||
|
echo "::warning::Could not fetch reviews for PR #${PR_NUMBER}."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
REVIEWER_APPROVED=$(echo "${REVIEWS}" | jq -r --arg user "${REQUIRED_REVIEWER}" \
|
||||||
|
'[.[] | select(.user.login == $user)] | last | if .state then .state == "APPROVED" else false end')
|
||||||
|
|
||||||
|
echo "${GATE_NAME} (${REQUIRED_REVIEWER}) approved: ${REVIEWER_APPROVED}"
|
||||||
|
|
||||||
|
# Fallback: check if CTO approved as alternative for uat→main
|
||||||
|
if [ "${REVIEWER_APPROVED}" != "true" ] && [ -n "${ALT_REVIEWER}" ]; then
|
||||||
|
REVIEWER_APPROVED=$(echo "${REVIEWS}" | jq -r --arg user "${ALT_REVIEWER}" \
|
||||||
|
'[.[] | select(.user.login == $user)] | last | if .state then .state == "APPROVED" else false end')
|
||||||
|
if [ "${REVIEWER_APPROVED}" = "true" ]; then
|
||||||
|
echo "CTO (${ALT_REVIEWER}) approved as fallback for UAT gate."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "${REVIEWER_APPROVED}" = "true" ]; then
|
||||||
|
echo "Promotion gate passed: ${GATE_NAME} has approved."
|
||||||
|
else
|
||||||
|
echo "Promotion gate failed: waiting for ${GATE_NAME} approval from ${REQUIRED_REVIEWER}."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
@@ -4,20 +4,206 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
description: 'Release version (e.g. 1.0.0)'
|
description: 'Release version (e.g. 1.0.1)'
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
check-secrets:
|
||||||
uses: privilegedescalation/.github/.github/workflows/plugin-release.yaml@main
|
runs-on: runners-privilegedescalation
|
||||||
secrets:
|
outputs:
|
||||||
RELEASE_APP_ID: ${{ secrets.RELEASE_APP_ID }}
|
ready: ${{ steps.check.outputs.ready }}
|
||||||
RELEASE_APP_PRIVATE_KEY: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
|
steps:
|
||||||
|
- name: Verify GITEA_RELEASE_TOKEN is configured
|
||||||
|
id: check
|
||||||
|
env:
|
||||||
|
GITEA_RELEASE_TOKEN: ${{ secrets.GITEA_RELEASE_TOKEN }}
|
||||||
|
run: |
|
||||||
|
if [ -z "$GITEA_RELEASE_TOKEN" ]; then
|
||||||
|
echo "::notice::GITEA_RELEASE_TOKEN org secret is not configured (see PRI-1533). Release skipped — no artifacts will be created."
|
||||||
|
echo "ready=false" >> $GITHUB_OUTPUT
|
||||||
|
else
|
||||||
|
echo "ready=true" >> $GITHUB_OUTPUT
|
||||||
|
fi
|
||||||
|
|
||||||
|
ci:
|
||||||
|
needs: check-secrets
|
||||||
|
if: needs.check-secrets.outputs.ready == 'true'
|
||||||
|
uses: ./.github/workflows/ci.yaml
|
||||||
with:
|
with:
|
||||||
version: ${{ inputs.version }}
|
node-version: '20'
|
||||||
upstream-repo: 'FairwindsOps/polaris'
|
|
||||||
|
check-token-permissions:
|
||||||
|
needs: check-secrets
|
||||||
|
if: needs.check-secrets.outputs.ready == 'true'
|
||||||
|
runs-on: runners-privilegedescalation
|
||||||
|
outputs:
|
||||||
|
has_write: ${{ steps.check.outputs.has_write }}
|
||||||
|
steps:
|
||||||
|
- name: Check write permissions via API
|
||||||
|
id: check
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.GITEA_RELEASE_TOKEN }}
|
||||||
|
REPO: ${{ github.repository }}
|
||||||
|
run: |
|
||||||
|
HTTP_CODE=$(curl -sf -o /dev/null -w "%{http_code}" \
|
||||||
|
-X POST \
|
||||||
|
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||||
|
-H "Accept: application/json" \
|
||||||
|
"https://git.farh.net/api/v1/repos/${REPO}/git/refs" \
|
||||||
|
-d '{"ref":"refs/heads/_release_check","sha":"${{ github.sha }}"}')
|
||||||
|
if [ "$HTTP_CODE" = "201" ]; then
|
||||||
|
echo "::notice::Token has write permission — cleaning up test ref."
|
||||||
|
curl -sf -o /dev/null -w "%{http_code}" \
|
||||||
|
-X DELETE \
|
||||||
|
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||||
|
"https://git.farh.net/api/v1/repos/${REPO}/git/refs/heads/_release_check"
|
||||||
|
echo "has_write=true" >> $GITHUB_OUTPUT
|
||||||
|
elif [ "$HTTP_CODE" = "403" ]; then
|
||||||
|
echo "::error::Token lacks write permission. Release cannot push tags or branches."
|
||||||
|
echo "has_write=false" >> $GITHUB_OUTPUT
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "::warning::Unexpected response ($HTTP_CODE) when checking write permission."
|
||||||
|
echo "has_write=false" >> $GITHUB_OUTPUT
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
check-tag:
|
||||||
|
needs: check-secrets
|
||||||
|
if: needs.check-secrets.outputs.ready == 'true'
|
||||||
|
runs-on: runners-privilegedescalation
|
||||||
|
outputs:
|
||||||
|
skip: ${{ steps.check.outputs.skip }}
|
||||||
|
steps:
|
||||||
|
- name: Check if tag already exists
|
||||||
|
id: check
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.GITEA_RELEASE_TOKEN }}
|
||||||
|
REPO: ${{ github.repository }}
|
||||||
|
run: |
|
||||||
|
HTTP_CODE=$(curl -sf -o /dev/null -w "%{http_code}" \
|
||||||
|
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||||
|
"https://git.farh.net/api/v1/repos/${REPO}/git/refs/tags/v${{ inputs.version }}")
|
||||||
|
if [ "$HTTP_CODE" = "200" ]; then
|
||||||
|
echo "::notice::Tag v${{ inputs.version }} already exists. Release skipped (not an error)."
|
||||||
|
echo "skip=true" >> $GITHUB_OUTPUT
|
||||||
|
else
|
||||||
|
echo "skip=false" >> $GITHUB_OUTPUT
|
||||||
|
fi
|
||||||
|
|
||||||
|
release:
|
||||||
|
needs: [ci, check-tag, check-secrets, check-token-permissions]
|
||||||
|
if: needs.check-secrets.outputs.ready == 'true' && needs.check-tag.outputs.skip != 'true' && needs.check-token-permissions.outputs.has_write == 'true'
|
||||||
|
runs-on: runners-privilegedescalation
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Validate version format
|
||||||
|
run: |
|
||||||
|
if [[ ! "${{ inputs.version }}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||||
|
echo "Error: Version must be in X.Y.Z format"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Setup Node
|
||||||
|
uses: actions/setup-node@v6
|
||||||
|
with:
|
||||||
|
node-version: '20'
|
||||||
|
cache: 'pnpm'
|
||||||
|
|
||||||
|
- name: Install pnpm
|
||||||
|
run: npm install -g corepack && corepack enable pnpm && corepack install
|
||||||
|
|
||||||
|
- name: Configure Git
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.GITEA_RELEASE_TOKEN }}
|
||||||
|
run: |
|
||||||
|
git config --global user.name "github-actions[bot]"
|
||||||
|
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||||
|
git remote set-url origin "https://x-access-token:${GITEA_TOKEN}@git.farh.net/${{ github.repository }}.git"
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: pnpm run build
|
||||||
|
|
||||||
|
- name: Get tarball path
|
||||||
|
id: tarball
|
||||||
|
env:
|
||||||
|
VERSION: ${{ inputs.version }}
|
||||||
|
run: |
|
||||||
|
output=$(pnpm run package 2>&1)
|
||||||
|
echo "output=$output"
|
||||||
|
tarball_name=$(echo "$output" | grep -oP 'headlamp-polaris-\d+\.\d+\.\d+\.tar\.gz' | tail -1)
|
||||||
|
echo "tarball_name=$tarball_name" >> $GITHUB_OUTPUT
|
||||||
|
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Compute checksum
|
||||||
|
run: |
|
||||||
|
CHECKSUM=$(sha256sum "${{ steps.tarball.outputs.tarball_name }}" | awk '{print $1}')
|
||||||
|
echo "CHECKSUM=$CHECKSUM" >> $GITHUB_ENV
|
||||||
|
echo "Tarball checksum: $CHECKSUM"
|
||||||
|
|
||||||
|
- name: Commit and tag
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.GITEA_RELEASE_TOKEN }}
|
||||||
|
run: |
|
||||||
|
VERSION="${{ inputs.version }}"
|
||||||
|
BRANCH="release/v${VERSION}"
|
||||||
|
if git ls-remote --exit-code origin "refs/heads/$BRANCH" 2>/dev/null; then
|
||||||
|
echo "::notice::Branch $BRANCH already exists — deleting for clean re-trigger."
|
||||||
|
git push origin --delete "$BRANCH"
|
||||||
|
fi
|
||||||
|
git checkout -b "$BRANCH"
|
||||||
|
git add package.json pnpm-lock.yaml
|
||||||
|
git commit -m "release: v${VERSION}"
|
||||||
|
git tag "v${VERSION}"
|
||||||
|
git push origin "$BRANCH"
|
||||||
|
git push origin "refs/tags/v${VERSION}"
|
||||||
|
|
||||||
|
- name: Create Gitea Release
|
||||||
|
env:
|
||||||
|
GITEA_URL: https://git.farh.net
|
||||||
|
GITEA_TOKEN: ${{ secrets.GITEA_RELEASE_TOKEN }}
|
||||||
|
REPO: ${{ github.repository }}
|
||||||
|
run: |
|
||||||
|
VERSION="${{ inputs.version }}"
|
||||||
|
ASSET_NAME="headlamp-polaris-${VERSION}.tar.gz"
|
||||||
|
TARBALL="${{ steps.tarball.outputs.tarball_name }}"
|
||||||
|
|
||||||
|
RELEASE_RESPONSE=$(
|
||||||
|
curl -s -X POST \
|
||||||
|
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
"${GITEA_URL}/api/v1/repos/${REPO}/releases" \
|
||||||
|
-d "{
|
||||||
|
\"tag_name\": \"v${VERSION}\",
|
||||||
|
\"name\": \"v${VERSION}\",
|
||||||
|
\"draft\": false,
|
||||||
|
\"prerelease\": false
|
||||||
|
}"
|
||||||
|
)
|
||||||
|
echo "Release response: ${RELEASE_RESPONSE}"
|
||||||
|
|
||||||
|
RELEASE_ID=$(echo "${RELEASE_RESPONSE}" | python3 -c "import sys, json; print(json.load(sys.stdin).get('id', ''))")
|
||||||
|
if [ -z "$RELEASE_ID" ]; then
|
||||||
|
echo "Failed to create release"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
curl -s -X POST \
|
||||||
|
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||||
|
-H "Content-Type: application/octet-stream" \
|
||||||
|
-T "$TARBALL" \
|
||||||
|
"${GITEA_URL}/api/v1/repos/${REPO}/releases/${RELEASE_ID}/assets?name=${ASSET_NAME}"
|
||||||
+48
-43
@@ -1,30 +1,28 @@
|
|||||||
version: "1.0.0"
|
version: 1.0.1
|
||||||
name: headlamp-polaris
|
name: headlamp-polaris
|
||||||
displayName: Polaris
|
displayName: Polaris
|
||||||
createdAt: "2026-02-05T19:00:00Z"
|
createdAt: '2026-05-20T00:00:00Z'
|
||||||
description: >-
|
description: Surfaces Fairwinds Polaris audit results inside the Headlamp UI. Shows
|
||||||
Surfaces Fairwinds Polaris audit results inside the Headlamp UI.
|
cluster score, check summary, and per-namespace drill-downs with per-resource pass/warning/danger
|
||||||
Shows cluster score, check summary, and per-namespace drill-downs
|
breakdowns. Data is fetched read-only via the Kubernetes service proxy to the Polaris
|
||||||
with per-resource pass/warning/danger breakdowns. Data is fetched
|
dashboard. Requires a Role granting `get` on `services/proxy` for the `polaris-dashboard`
|
||||||
read-only via the Kubernetes service proxy to the Polaris dashboard.
|
service in the `polaris` namespace.
|
||||||
Requires a Role granting `get` on `services/proxy` for the
|
|
||||||
`polaris-dashboard` service in the `polaris` namespace.
|
|
||||||
license: Apache-2.0
|
license: Apache-2.0
|
||||||
homeURL: "https://github.com/privilegedescalation/headlamp-polaris-plugin"
|
homeURL: https://github.com/privilegedescalation/headlamp-polaris-plugin
|
||||||
appVersion: "10.1.6"
|
appVersion: 10.1.6
|
||||||
category: security
|
category: security
|
||||||
keywords:
|
keywords:
|
||||||
- polaris
|
- polaris
|
||||||
- fairwinds
|
- fairwinds
|
||||||
- security
|
- security
|
||||||
- audit
|
- audit
|
||||||
- headlamp
|
- headlamp
|
||||||
- kubernetes
|
- kubernetes
|
||||||
links:
|
links:
|
||||||
- name: Source
|
- name: Source
|
||||||
url: "https://github.com/privilegedescalation/headlamp-polaris-plugin"
|
url: https://github.com/privilegedescalation/headlamp-polaris-plugin
|
||||||
- name: Polaris
|
- name: Polaris
|
||||||
url: "https://polaris.docs.fairwinds.com/"
|
url: https://polaris.docs.fairwinds.com/
|
||||||
install: |
|
install: |
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -50,27 +48,34 @@ install: |
|
|||||||
|
|
||||||
For more information, see the [README](https://github.com/privilegedescalation/headlamp-polaris-plugin/blob/main/README.md).
|
For more information, see the [README](https://github.com/privilegedescalation/headlamp-polaris-plugin/blob/main/README.md).
|
||||||
changes:
|
changes:
|
||||||
- kind: security
|
- kind: security
|
||||||
description: Patched 8 npm audit vulnerabilities via pnpm.overrides
|
description: Patched 8 npm audit vulnerabilities via pnpm.overrides
|
||||||
- kind: added
|
- kind: added
|
||||||
description: Dual-approval required CI check — PRs must be approved by both CTO and QA before merge
|
description: Dual-approval required CI check — PRs must be approved by both CTO
|
||||||
- kind: added
|
and QA before merge
|
||||||
description: ExemptionManager test suite — full coverage of annotation-based exemption flows
|
- kind: added
|
||||||
- kind: fixed
|
description: ExemptionManager test suite — full coverage of annotation-based exemption
|
||||||
description: E2E infrastructure overhauled — ConfigMap volume mount replaces Dockerfile-based approach, tests run in privilegedescalation-dev namespace
|
flows
|
||||||
- kind: fixed
|
- kind: fixed
|
||||||
description: E2E workflow uses token auth and waits for HTTP reachability before running tests
|
description: E2E infrastructure overhauled — ConfigMap volume mount replaces Dockerfile-based
|
||||||
- kind: fixed
|
approach, tests run in privilegedescalation-dev namespace
|
||||||
description: Added explicit direct devDependencies (typescript, eslint, prettier, @headlamp-k8s/eslint-config) to prevent phantom dep failures
|
- kind: fixed
|
||||||
- kind: changed
|
description: E2E workflow uses token auth and waits for HTTP reachability before
|
||||||
description: pnpm version pinned via packageManager field; GitHub Actions SHA-pinned via Renovate pinDigests
|
running tests
|
||||||
- kind: changed
|
- kind: fixed
|
||||||
description: v1.0.0 stable release — plugin API (routes, sidebar, settings schema, app bar action) is stable and will not change without a major version bump
|
description: Added explicit direct devDependencies (typescript, eslint, prettier,
|
||||||
|
@headlamp-k8s/eslint-config) to prevent phantom dep failures
|
||||||
|
- kind: changed
|
||||||
|
description: pnpm version pinned via packageManager field; GitHub Actions SHA-pinned
|
||||||
|
via Renovate pinDigests
|
||||||
|
- kind: changed
|
||||||
|
description: v1.0.0 stable release — plugin API (routes, sidebar, settings schema,
|
||||||
|
app bar action) is stable and will not change without a major version bump
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: privilegedescalation
|
- name: privilegedescalation
|
||||||
email: "chris@farhood.org"
|
email: chris@farhood.org
|
||||||
annotations:
|
annotations:
|
||||||
headlamp/plugin/archive-url: "https://github.com/privilegedescalation/headlamp-polaris-plugin/releases/download/v1.0.0/headlamp-polaris-1.0.0.tar.gz"
|
headlamp/plugin/archive-url: https://git.farh.net/privilegedescalation/headlamp-polaris-plugin/releases/download/v1.0.1/headlamp-polaris-1.0.1.tar.gz
|
||||||
headlamp/plugin/version-compat: ">=0.26"
|
headlamp/plugin/version-compat: '>=0.26'
|
||||||
headlamp/plugin/archive-checksum: sha256:a165e871b40f11a44950aa9f10eb7f7883276f749026ae7a4f886278ecd9bd7d
|
headlamp/plugin/archive-checksum: sha256:1e05d079c7032cf55ebde85e116cb65b686d207f4b6a3b0f716f0af93f933e7e
|
||||||
headlamp/plugin/distro-compat: "in-cluster,web,desktop"
|
headlamp/plugin/distro-compat: in-cluster,web,desktop
|
||||||
|
|||||||
Reference in New Issue
Block a user