Add ephemeral Gitea creds for repospawner #142

Merged
benvin merged 1 commits from benvin/repospawner-gitea-creds into master 2026-08-30 09:29:26 +10:00

1 Commits

Author SHA1 Message Date
unkin-agent 7b6dff58e0 Add ephemeral Gitea creds for repospawner
ci/woodpecker/pr/plan Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
repospawner needs to create and seed Gitea repositories without a static
token. Add the gitea engine role, a Kubernetes auth role for its in-cluster
service account, and the policy binding the two.

- Add gitea_secret_backend_role repospawner (write:repository, write:issue,
  read:user; 1h ttl / 4h max)
- Add auth_kubernetes_role k8s/au/syd1/repospawner bound to
  repospawner/repospawner with the vault audience
- Add policies/gitea/creds/repospawner granting read on
  gitea/creds/repospawner to that Kubernetes role only
2026-08-30 00:47:37 +10:00