enable per app role list of policies
All checks were successful
Helm Charts / Detect changed charts (push) Successful in 18s
Helm Charts / Library charts tool (push) Has been skipped
Helm Charts / Application charts pgcat (push) Has been skipped

This commit is contained in:
2025-10-30 10:05:25 +01:00
parent ea9e41ff1a
commit 24c3d92522
5 changed files with 22 additions and 10 deletions

View File

@@ -76,7 +76,8 @@ resource "vault_kubernetes_auth_backend_role" "vso" {
module "app_policies" {
source = "./modules/app_policy"
for_each = var.applications
name = each.value
for_each = { for app in var.applications : app.name => app }
name = each.value.name
policies = each.value.policies
gitea_app_id = var.gitea_app_id
}
}