Skip to content

Commit

Permalink
resolve conversation
Browse files Browse the repository at this point in the history
  • Loading branch information
fancc committed May 8, 2020
1 parent 6c5ddc2 commit 0fc77ad
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions content/zh/docs/concepts/configuration/configmap.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: ConfigMaps
title: ConfigMap
content_template: templates/concept
weight: 20
---

{{% capture overview %}}

{{< glossary_definition term_id="configmap" prepend="A ConfigMap is" length="all" >}}
{{< glossary_definition term_id="configmap" prepend="ConfigMap " length="all" >}}

{{< caution >}}
<!--
Expand Down Expand Up @@ -86,11 +86,11 @@ kind: ConfigMap
metadata:
Name: game-demo
data:
# property-like keys; each key maps to a simple value
# 类属性键;每一个键都映射到一个简单的值
player_initial_lives: 3
ui_properties_file_name: "user-interface.properties"
#
# file-like keys
# 类文件键
game.properties: |
enemy.types=aliens,monsters
player.maximum-lives=5
Expand Down Expand Up @@ -207,9 +207,9 @@ might encounter {{< glossary_tooltip text="addons" term_id="addons" >}}
or {{< glossary_tooltip text="operators" term_id="operator-pattern" >}} that
adjust their behavior based on a ConfigMap.
-->
ConfigMaps 最常见的用法是为同一命名空间里某 Pod 中运行的容器执行配置。您也可以单独使用 ConfigMap。
ConfigMap 最常见的用法是为同一命名空间里某 Pod 中运行的容器执行配置。您也可以单独使用 ConfigMap。

比如,您可能会遇到基于 ConfigMap 来调整其行为的 {{< glossary_tooltip text="addons" term_id="addons" >}} 或者 {{< glossary_tooltip text="operators" term_id="operator-pattern" >}}。
比如,您可能会遇到基于 ConfigMap 来调整其行为的 {{< glossary_tooltip text="插件" term_id="addons" >}} 或者 {{< glossary_tooltip text="operator" term_id="operator-pattern" >}}。
{{< /note >}}


Expand All @@ -222,7 +222,7 @@ ConfigMaps 最常见的用法是为同一命名空间里某 Pod 中运行的容
* Read [The Twelve-Factor App](https://12factor.net/) to understand the motivation for
separating code from configuration.
-->
* 阅读 [Secrets](/docs/concepts/configuration/secret/)。
* 阅读 [Secret](/docs/concepts/configuration/secret/)。
* 阅读 [配置 Pod 来使用 ConfigMap](/docs/tasks/configure-pod-container/configure-pod-configmap/)。
* 阅读 [Twelve-Factor 应用](https://12factor.net/) 来了解将代码和配置分开的动机。

Expand Down

0 comments on commit 0fc77ad

Please sign in to comment.