Allow terraform-git to read the IUCLabs GitHub App secret (#173)
ci/woodpecker/push/apply Pipeline was successful
ci/woodpecker/push/apply Pipeline was successful
terraform-git manages the IUCLabs GitHub org through a GitHub App whose app_id, installation_id and pem live in kv/service/github/iuclabs/terraform. Its plan/apply identities need read access to that secret. - add read policy on kv/data/service/github/iuclabs/terraform - bind it to the terraform_git approle and the woodpecker_terraform_git k8s role Reviewed-on: #173 Co-authored-by: unkin-agent <unkin-agent@unkin.net> Co-committed-by: unkin-agent <unkin-agent@unkin.net>
This commit was merged in pull request #173.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# Allow reading the IUCLabs GitHub App credentials
|
||||
---
|
||||
rules:
|
||||
- path: "kv/data/service/github/iuclabs/terraform"
|
||||
capabilities:
|
||||
- read
|
||||
|
||||
auth:
|
||||
approle:
|
||||
- terraform_git
|
||||
k8s/au/syd1:
|
||||
- woodpecker_terraform_git
|
||||
Reference in New Issue
Block a user