docs: fix typos in task-api.mdx and workload-identity.mdx (#16309)

This commit is contained in:
Aofei Sheng 2023-03-03 21:37:59 +08:00 committed by GitHub
parent 1f9d11feff
commit e81fecdd1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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
}