chore: setup access to enable all plugins, designated to tf-vault user (#94)
ci/woodpecker/push/apply Pipeline was successful
ci/woodpecker/push/apply Pipeline was successful
Co-authored-by: Ben Vincent <ben@unkin.net> Reviewed-on: #94
This commit was merged in pull request #94.
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
# Allow the vault deployer to import (register/deregister) plugin in the catalog
|
||||||
|
---
|
||||||
|
rules:
|
||||||
|
- path: "sys/plugins/catalog/*"
|
||||||
|
capabilities:
|
||||||
|
- create
|
||||||
|
- read
|
||||||
|
- update
|
||||||
|
- delete
|
||||||
|
- sudo
|
||||||
|
|
||||||
|
auth:
|
||||||
|
approle:
|
||||||
|
- tf_vault
|
||||||
|
k8s/au/syd1:
|
||||||
|
- woodpecker_terraform_vault
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
# Allow the vault deployer to import (register/deregister) the rancher secrets
|
|
||||||
# plugin in the catalog. sys/plugins/catalog is sudo-protected, so this lives
|
|
||||||
# under policies/sys/ where only a sys code owner can grant it — keeping the
|
|
||||||
# rancher engine policy (policies/rancher/) scoped to rancher/* paths.
|
|
||||||
---
|
|
||||||
rules:
|
|
||||||
- path: "sys/plugins/catalog/secret/vault-plugin-secrets-rancher"
|
|
||||||
capabilities:
|
|
||||||
- create
|
|
||||||
- read
|
|
||||||
- update
|
|
||||||
- delete
|
|
||||||
- sudo
|
|
||||||
|
|
||||||
auth:
|
|
||||||
approle:
|
|
||||||
- tf_vault
|
|
||||||
k8s/au/syd1:
|
|
||||||
- woodpecker_terraform_vault
|
|
||||||
Reference in New Issue
Block a user