Add nomad client and server policies
This commit is contained in:
parent
4a43799bf4
commit
2eaf118b5a
2 changed files with 29 additions and 0 deletions
15
consul/acls/nomad-client-policy.hcl
Normal file
15
consul/acls/nomad-client-policy.hcl
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
agent_prefix "" {
|
||||||
|
policy = "read"
|
||||||
|
}
|
||||||
|
|
||||||
|
node_prefix "" {
|
||||||
|
policy = "read"
|
||||||
|
}
|
||||||
|
|
||||||
|
service_prefix "" {
|
||||||
|
policy = "write"
|
||||||
|
}
|
||||||
|
|
||||||
|
key_prefix "" {
|
||||||
|
policy = read
|
||||||
|
}
|
14
consul/acls/nomad-server-policy.hcl
Normal file
14
consul/acls/nomad-server-policy.hcl
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
agent_prefix "" {
|
||||||
|
policy = "read"
|
||||||
|
}
|
||||||
|
|
||||||
|
node_prefix "" {
|
||||||
|
policy = "read"
|
||||||
|
}
|
||||||
|
|
||||||
|
service_prefix "" {
|
||||||
|
policy = "write"
|
||||||
|
}
|
||||||
|
|
||||||
|
acl = "write"
|
||||||
|
|
Loading…
Reference in a new issue