Give Diun task socket access to read jobs
This commit is contained in:
parent
91b4ef0ba7
commit
c1f3d28c93
@ -35,4 +35,18 @@ module "diun" {
|
||||
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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user