mirror of https://github.com/hashicorp/consul
parent
1403e93437
commit
c5dffcceed
@ -1,6 +1,6 @@
|
||||
{
|
||||
"TemplateName": "builtin/nomad-client",
|
||||
"Schema": "",
|
||||
"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}",
|
||||
"Template": "agent_prefix \"\" {\n policy = \"read\"\n}\nnode \"{{.Name}}\" {\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."
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
Name: builtin/nomad-client
|
||||
Description: Gives the token or role permissions required for integration with a nomad client.
|
||||
Input variables: None
|
||||
Input variables:
|
||||
Name: String - Required - The node name.
|
||||
Example usage:
|
||||
consul acl token create -templated-policy builtin/nomad-client
|
||||
consul acl token create -templated-policy builtin/nomad-client -var name:node-1
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"TemplateName": "builtin/nomad-server",
|
||||
"Schema": "",
|
||||
"Template": "\nacl = \"write\"\nmesh = \"write\"\n\nagent_prefix \"\" {\n policy = \"read\"\n}\nnode_prefix \"\" {\n policy = \"write\"\n}\nservice_prefix \"\" {\n policy = \"write\"\n}",
|
||||
"Template": "\nacl = \"write\"\nmesh = \"write\"\n\nagent_prefix \"\" {\n policy = \"read\"\n}\nnode \"{{.Name}}\" {\n policy = \"write\"\n}\nservice_prefix \"\" {\n policy = \"write\"\n}",
|
||||
"Description": "Gives the token or role permissions required for integration with a nomad server."
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
Name: builtin/nomad-server
|
||||
Description: Gives the token or role permissions required for integration with a nomad server.
|
||||
Input variables: None
|
||||
Input variables:
|
||||
Name: String - Required - The node name.
|
||||
Example usage:
|
||||
consul acl token create -templated-policy builtin/nomad-server
|
||||
consul acl token create -templated-policy builtin/nomad-server -var name:node-1
|
||||
|
Loading…
Reference in new issue