This repository has been archived on 2026-11-21. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
terraform-vault/policies/arrstack/admin.yaml
T
unkin-agent 4fe89092ab
ci/woodpecker/push/apply Pipeline was successful
Add IUCLabs GitHub jwt roles for terraform repos (#187)
terraform-git, -vault, -artifactapi, -authentik and -binarylane are moving to private IUCLabs GitHub repos and will plan/apply from GitHub Actions, so each needs a jwt/github/iuclabs role with the same policies as its Woodpecker k8s role.

- add terraform_<repo> jwt roles bound to owner IUCLabs, repository IUCLabs/terraform-<repo>, push/pull_request events on the default branch and pull_request merge refs
- bind each role to the exact policy set of woodpecker_terraform_<repo>, with matching token TTLs
- keep the Woodpecker k8s roles unchanged

Reviewed-on: #187
Co-authored-by: unkin-agent <unkin-agent@unkin.net>
Co-committed-by: unkin-agent <unkin-agent@unkin.net>
2026-11-21 01:18:54 +11:00

30 lines
533 B
YAML

# Allow management of the arrstack secrets engine (config and roles) by the
# terraform-vault deployer.
---
rules:
- path: "arrstack/config"
capabilities:
- create
- update
- read
- delete
- path: "arrstack/roles/*"
capabilities:
- create
- update
- delete
- read
- list
- path: "arrstack/roles"
capabilities:
- read
- list
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault