4fe89092ab
ci/woodpecker/push/apply Pipeline was successful
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>
30 lines
533 B
YAML
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
|