Skip to content

Commit

Permalink
Merge pull request #25485 from jiazxjason/patch-24
Browse files Browse the repository at this point in the history
Update zh trans configure-pod-configmap.md
  • Loading branch information
k8s-ci-robot authored Dec 10, 2020
2 parents ed64964 + f6b254c commit 5ef309d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5ef309d

Please sign in to comment.