From ab9fdcbe24b97ca6d7440a0e471e64c895271d8c Mon Sep 17 00:00:00 2001 From: bglimepoint <40051843+bglimepoint@users.noreply.github.com> Date: Wed, 15 Dec 2021 04:16:21 +0000 Subject: [PATCH] Note that subPathExpr uses round brackets. As it's easy to misread this as curly brackets for users familiar with shell interpolation. --- content/en/docs/concepts/storage/volumes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/en/docs/concepts/storage/volumes.md b/content/en/docs/concepts/storage/volumes.md index 1f5bb2e43e..c635e4cd61 100644 --- a/content/en/docs/concepts/storage/volumes.md +++ b/content/en/docs/concepts/storage/volumes.md @@ -1133,6 +1133,7 @@ spec: volumeMounts: - name: workdir1 mountPath: /logs + # The variable expansion uses round brackets (not curly brackets). subPathExpr: $(POD_NAME) restartPolicy: Never volumes: