Add stable secret to woodpecker agent

This commit is contained in:
2026-08-22 23:57:43 +03:00
parent 825d4cf602
commit 20df574678
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
---
# Stable shared agent secret. The Helm chart's built-in
# woodpecker-default-agent-secret is generated with randAlphaNum at
# template time, so every ArgoCD render/sync produced a new value and
# agents started after a sync could no longer authenticate against the
# running server ("individual agent not found by token").
apiVersion: codemowers.cloud/v1beta1
kind: SecretClaim
metadata:
name: woodpecker-agent-secret
namespace: woodpecker
spec:
size: 32
mapping:
- key: WOODPECKER_AGENT_SECRET
value: "%(plaintext)s"