From e81fecdd1f4c5398ce1dd89e8b2ea52a25e81d93 Mon Sep 17 00:00:00 2001 From: Aofei Sheng Date: Fri, 3 Mar 2023 21:37:59 +0800 Subject: [PATCH] docs: fix typos in task-api.mdx and workload-identity.mdx (#16309) --- website/content/api-docs/task-api.mdx | 2 +- website/content/docs/concepts/workload-identity.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/content/api-docs/task-api.mdx b/website/content/api-docs/task-api.mdx index d7db63f99..1600b7999 100644 --- a/website/content/api-docs/task-api.mdx +++ b/website/content/api-docs/task-api.mdx @@ -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 diff --git a/website/content/docs/concepts/workload-identity.mdx b/website/content/docs/concepts/workload-identity.mdx index 4fcbb0c52..87725ac5f 100644 --- a/website/content/docs/concepts/workload-identity.mdx +++ b/website/content/docs/concepts/workload-identity.mdx @@ -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 }