policies: grant the vault deployer access to the gitea secrets engine #100
Reference in New Issue
Block a user
Delete Branch "benvin/gitea-deployer-access"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The forthcoming
gitea_secret_backend+ role configuration (separate PR,benvin/gitea-secret-engine) is applied by terraform-vault under the deployment identity (tf_vaultapprole /woodpecker_terraform_vaultk8s role). That identity has no access to thegitea/mount yet, so writing the engine's config and roles would 403. This mirrorspolicies/rancher/admin.yaml.Change
policies/gitea/admin.yamlgranting the deployer:gitea/configgitea/config/rotate-root(write-only rotation trigger)gitea/roles/*(and list ongitea/roles)gitea/creds/*— minting tokens is for consumers, not the deployer.policies/sys/plugins/catalog/admin.yaml, and mounting uses the deployer's existingsys/mounts/*access — same as the rancher engine.Order
Merge and apply this before the
benvin/gitea-secret-enginePR, so the deployer can write the engine config/roles on that apply.https://claude.ai/code/session_015ur3i7D2azsMAWTSVABApv