Skip to content

Commit 7352205

Browse files
committed
Update Nomad policy
1 parent ea6ba46 commit 7352205

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

libbeat/docs/shared-autodiscover.asciidoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,11 +482,14 @@ The `nomad` autodiscover provider has the following configuration settings:
482482

483483
`namespace`:: (Optional) Namespace to use. If not provided the `default` namespace is used.
484484

485-
`secret_id`:: (Optional) SecretID to use if ACL is enabled in Nomad. A minimal
486-
ACL policy is:
485+
`secret_id`:: (Optional) SecretID to use if ACL is enabled in Nomad. This is an
486+
example ACL policy to apply to the token.
487487

488488
[source,hcl]
489489
----
490+
namespace "*" {
491+
policy = "read"
492+
}
490493
node {
491494
policy = "read"
492495
}

x-pack/libbeat/processors/add_nomad_metadata/docs/add_nomad_metadata.asciidoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,14 @@ uses `http://127.0.0.1:4646` by default.
3232
in this namespace will be annotated.
3333
`region`:: (Optional) Region to watch. If set, only events for allocations in
3434
this region will be annotated.
35-
`secret_id`:: (Optional) SecretID to use when connecting with the agent API. A
36-
minimal ACL policy is:
35+
`secret_id`:: (Optional) SecretID to use when connecting with the agent API.
36+
This is an example ACL policy to apply to the token.
3737

3838
[source,hcl]
3939
----
40+
namespace "*" {
41+
policy = "read"
42+
}
4043
node {
4144
policy = "read"
4245
}

0 commit comments

Comments
 (0)