Give Diun task socket access to read jobs

This commit is contained in:
IamTheFij 2023-09-27 21:35:55 -07:00
parent 91b4ef0ba7
commit c1f3d28c93

View File

@ -35,4 +35,18 @@ module "diun" {
mount = false mount = false
}, },
] ]
workload_acl_policy = {
name = "diun-read"
description = "Give the diun task read access to jobs"
rules_hcl = <<EOH
namespace "default" {
capabilities = [
"list-jobs",
"read-job",
]
}
EOH
}
} }