Skip to content

Commit ab9fdcb

Browse files
authored
Note that subPathExpr uses round brackets.
As it's easy to misread this as curly brackets for users familiar with shell interpolation.
1 parent 1154e19 commit ab9fdcb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/en/docs/concepts/storage/volumes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,6 +1133,7 @@ spec:
11331133
volumeMounts:
11341134
- name: workdir1
11351135
mountPath: /logs
1136+
# The variable expansion uses round brackets (not curly brackets).
11361137
subPathExpr: $(POD_NAME)
11371138
restartPolicy: Never
11381139
volumes:

0 commit comments

Comments
 (0)