Merge pull request #30959 from bglimepoint/patch-1
Note that subPathExpr uses round brackets.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user