- add approle for terraform-git - add policy to read gitadmin token - update access to the terraform-git consul token --------- Co-authored-by: Ben Vincent <ben@unkin.net> Reviewed-on: #74
This commit was merged in pull request #74.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
token_ttl: 120
|
||||
token_max_ttl: 120
|
||||
bind_secret_id: false
|
||||
token_bound_cidrs:
|
||||
- "10.10.12.200/32"
|
||||
- "198.18.25.102/32"
|
||||
- "198.18.26.91/32"
|
||||
- "198.18.27.40/32"
|
||||
use_deterministic_role_id: true
|
||||
@@ -5,5 +5,7 @@ rules:
|
||||
- read
|
||||
|
||||
auth:
|
||||
approle:
|
||||
- terraform_git
|
||||
k8s/au/syd1:
|
||||
- woodpecker_terraform_git
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
# Allow reading Gitea admin token
|
||||
---
|
||||
rules:
|
||||
- path: "kv/data/service/gitea/gitadmin/tokens/terraform-git"
|
||||
capabilities:
|
||||
- read
|
||||
|
||||
auth:
|
||||
approle:
|
||||
- terraform_git
|
||||
k8s/au/syd1:
|
||||
- woodpecker_terraform_git
|
||||
Reference in New Issue
Block a user