Merge pull request #30959 from bglimepoint/patch-1

Note that subPathExpr uses round brackets.
This commit is contained in:
Kubernetes Prow Robot
2022-01-17 15:32:49 -08:00
committed by GitHub
@@ -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: