Skip to content

Commit 5ef309d

Browse files
authored
Merge pull request #25485 from jiazxjason/patch-24
Update zh trans configure-pod-configmap.md
2 parents ed64964 + f6b254c commit 5ef309d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zh/docs/tasks/configure-pod-container/configure-pod-configmap.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -814,9 +814,9 @@ Kubernetes v1.6 和更高版本支持此功能。
814814
## 在 Pod 命令中使用 ConfigMap 定义的环境变量
815815

816816
<!--
817-
You can use ConfigMap-defined environment variables in the `command` section of the Pod specification using the `$(VAR_NAME)` Kubernetes substitution syntax.
817+
You can use ConfigMap-defined environment variables in the `command` and `args` of a container using the `$(VAR_NAME)` Kubernetes substitution syntax.
818818
-->
819-
你可以使用 `$(VAR_NAME)` Kubernetes 替换语法在 Pod 规约的 `command` 部分中使用 ConfigMap 定义的环境变量。
819+
你可以使用 `$(VAR_NAME)` Kubernetes 替换语法在容器的 `command``args` 部分中使用 ConfigMap 定义的环境变量。
820820

821821
<!--
822822
For example, the following Pod specification

0 commit comments

Comments
 (0)