fix: rotate Woodpecker API token in Salt pillar + all consumers #86
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-platform#86
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lineage
plan-pal-e-platform→ Phase 17a → 17a-6 (token rotation)Repo
forgejo_admin/pal-e-platformUser Story
As a platform operator
I want the Woodpecker API token updated in Salt pillar and all consumers
So that the DORA exporter can fetch deployment data and the MCP server authenticates
Type
Task
Context
The dora-exporter k8s secret had a stale token that returned 401 against the Woodpecker API. The valid token was obtained from the Woodpecker UI. This updates the canonical source (Salt pillar, GPG-encrypted) and all downstream consumers.
File Targets
Files to modify:
salt/pillar/secrets/platform.sls— replacewoodpecker_api_tokenPGP block with new encrypted valueterraform/k3s.tfvars— updatewoodpecker_api_tokenvalueManual updates (not in PR):
~/.mcp.json— updateWOODPECKER_TOKENdora-exporterk8s secret — kubectl patchtf_var_woodpecker_api_tokenAcceptance Criteria
make tofu-secretsrenders the token into secrets.auto.tfvarsTest Expectations
salt-call pillar.get secrets:platform:woodpecker_api_tokenreturns the tokenConstraints
81A03D1CF874DC90Checklist
Related
phase-platform-17a-woodpecker-secrets— parent phasesop-secrets-management— the SOP this followsScope Review: NEEDS_REFINEMENT
Review note:
review-333-2026-03-27Ticket is well-scoped with all file targets verified, all consumers identified, and no blocking dependencies. Two minor gaps before moving to
next_up:### Typeheader (should beTask)story:superuser-deploylabel on board item for traceability consistency with related items (#137, #179)Issue body updated per scope review corrections.