docs: fix typos in task-api.mdx and workload-identity.mdx (#16309)
This commit is contained in:
parent
1f9d11feff
commit
e81fecdd1f
|
@ -12,7 +12,7 @@ Nomad's Task API provides every task managed by Nomad with a Unix Domain Socket
|
|||
the Task API does *not* require [mTLS][], but *always* requires authentication.
|
||||
See below for details.
|
||||
|
||||
The Unix Domain Socket is located at `${SECRETS_DIR}/api.sock`.
|
||||
The Unix Domain Socket is located at `${NOMAD_SECRETS_DIR}/api.sock`.
|
||||
|
||||
## Rationale
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ task "example" {
|
|||
# Expose Workload Identity in NOMAD_TOKEN env var
|
||||
env = true
|
||||
|
||||
# Expose Workload Identity in ${SECRETS_DIR}/nomad_token file
|
||||
# Expose Workload Identity in ${NOMAD_SECRETS_DIR}/nomad_token file
|
||||
file = true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue