Note that subPathExpr uses round brackets.
As it's easy to misread this as curly brackets for users familiar with shell interpolation.
This commit is contained in:
parent
1154e19be3
commit
ab9fdcbe24
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue