Tristan Morgan 2024-10-24 10:31:24 +11:00
parent f82f5207a1
commit e495978eeb
No known key found for this signature in database
6 changed files with 12 additions and 8 deletions

View File

@ -2,7 +2,7 @@ agent_prefix "" {
policy = "read"
}
node_prefix "" {
policy = "read"
policy = "write"
}
service_prefix "" {
policy = "write"

View File

@ -1,10 +1,12 @@
acl = "write"
acl = "write"
mesh = "write"
agent_prefix "" {
policy = "read"
}
node_prefix "" {
policy = "read"
policy = "write"
}
service_prefix "" {
policy = "write"

View File

@ -1,6 +1,6 @@
{
"TemplateName": "builtin/nomad-client",
"Schema": "",
"Template": "agent_prefix \"\" {\n policy = \"read\"\n}\nnode_prefix \"\" {\n policy = \"read\"\n}\nservice_prefix \"\" {\n policy = \"write\"\n}\nkey_prefix \"\" {\n policy = \"read\"\n}",
"Template": "agent_prefix \"\" {\n policy = \"read\"\n}\nnode_prefix \"\" {\n policy = \"write\"\n}\nservice_prefix \"\" {\n policy = \"write\"\n}\nkey_prefix \"\" {\n policy = \"read\"\n}",
"Description": "Gives the token or role permissions required for integration with a nomad client."
}

View File

@ -8,7 +8,7 @@ agent_prefix "" {
policy = "read"
}
node_prefix "" {
policy = "read"
policy = "write"
}
service_prefix "" {
policy = "write"

View File

@ -1,6 +1,6 @@
{
"TemplateName": "builtin/nomad-server",
"Schema": "",
"Template": "\nacl = \"write\"\nagent_prefix \"\" {\n policy = \"read\"\n}\nnode_prefix \"\" {\n policy = \"read\"\n}\nservice_prefix \"\" {\n policy = \"write\"\n}",
"Template": "\nacl = \"write\"\nmesh = \"write\"\n\nagent_prefix \"\" {\n policy = \"read\"\n}\nnode_prefix \"\" {\n policy = \"write\"\n}\nservice_prefix \"\" {\n policy = \"write\"\n}",
"Description": "Gives the token or role permissions required for integration with a nomad server."
}

View File

@ -5,12 +5,14 @@ Example usage:
consul acl token create -templated-policy builtin/nomad-server
Raw Template:
acl = "write"
acl = "write"
mesh = "write"
agent_prefix "" {
policy = "read"
}
node_prefix "" {
policy = "read"
policy = "write"
}
service_prefix "" {
policy = "write"