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:
@@ -1133,6 +1133,7 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: workdir1
|
- name: workdir1
|
||||||
mountPath: /logs
|
mountPath: /logs
|
||||||
|
# The variable expansion uses round brackets (not curly brackets).
|
||||||
subPathExpr: $(POD_NAME)
|
subPathExpr: $(POD_NAME)
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user