Merge pull request #25485 from jiazxjason/patch-24

Update zh trans configure-pod-configmap.md
This commit is contained in:
Kubernetes Prow Robot 2020-12-10 03:34:54 -08:00 committed by GitHub
commit 5ef309d6ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -814,9 +814,9 @@ Kubernetes v1.6 和更高版本支持此功能。
## 在 Pod 命令中使用 ConfigMap 定义的环境变量
<!--
You can use ConfigMap-defined environment variables in the `command` section of the Pod specification using the `$(VAR_NAME)` Kubernetes substitution syntax.
You can use ConfigMap-defined environment variables in the `command` and `args` of a container using the `$(VAR_NAME)` Kubernetes substitution syntax.
-->
你可以使用 `$(VAR_NAME)` Kubernetes 替换语法在 Pod 规约的 `command` 部分中使用 ConfigMap 定义的环境变量。
你可以使用 `$(VAR_NAME)` Kubernetes 替换语法在容器的 `command``args` 部分中使用 ConfigMap 定义的环境变量。
<!--
For example, the following Pod specification