mirror of https://github.com/hashicorp/consul
Ronald
12 months ago
committed by
GitHub
11 changed files with 67 additions and 2 deletions
@ -0,0 +1,3 @@
|
||||
```release-note:feature |
||||
acl: Adds nomad client templated policy |
||||
``` |
@ -0,0 +1,12 @@
|
||||
agent_prefix "" { |
||||
policy = "read" |
||||
} |
||||
node_prefix "" { |
||||
policy = "read" |
||||
} |
||||
service_prefix "" { |
||||
policy = "write" |
||||
} |
||||
key_prefix "" { |
||||
policy = "read" |
||||
} |
@ -0,0 +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}", |
||||
"Description": "Gives the token or role permissions required for integration with a nomad client." |
||||
} |
@ -0,0 +1,18 @@
|
||||
Name: builtin/nomad-client |
||||
Description: Gives the token or role permissions required for integration with a nomad client. |
||||
Input variables: None |
||||
Example usage: |
||||
consul acl token create -templated-policy builtin/nomad-client |
||||
Raw Template: |
||||
agent_prefix "" { |
||||
policy = "read" |
||||
} |
||||
node_prefix "" { |
||||
policy = "read" |
||||
} |
||||
service_prefix "" { |
||||
policy = "write" |
||||
} |
||||
key_prefix "" { |
||||
policy = "read" |
||||
} |
@ -0,0 +1,5 @@
|
||||
Name: builtin/nomad-client |
||||
Description: Gives the token or role permissions required for integration with a nomad client. |
||||
Input variables: None |
||||
Example usage: |
||||
consul acl token create -templated-policy builtin/nomad-client |
Loading…
Reference in new issue