Skip to content

Commit b495121

Browse files
committed
[zh-cn] sync configmap open-a-pr configure-pod-configmap
Signed-off-by: xin.li <[email protected]>
1 parent 695642d commit b495121

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

content/zh-cn/docs/concepts/configuration/configmap.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ ConfigMap,你只需要设置一个 `spec.volumes` 块。
320320
When a ConfigMap currently consumed in a volume is updated, projected keys are eventually updated as well.
321321
The kubelet checks whether the mounted ConfigMap is fresh on every periodic sync.
322322
However, the kubelet uses its local cache for getting the current value of the ConfigMap.
323-
The type of the cache is configurable using the `ConfigMapAndSecretChangeDetectionStrategy` field in
323+
The type of the cache is configurable using the `configMapAndSecretChangeDetectionStrategy` field in
324324
the [KubeletConfiguration struct](/docs/reference/config-api/kubelet-config.v1beta1/).
325325
-->
326326
#### 被挂载的 ConfigMap 内容会被自动更新
@@ -330,7 +330,7 @@ kubelet 组件会在每次周期性同步时检查所挂载的 ConfigMap 是否
330330
不过,kubelet 使用的是其本地的高速缓存来获得 ConfigMap 的当前值。
331331
高速缓存的类型可以通过
332332
[KubeletConfiguration 结构](/zh-cn/docs/reference/config-api/kubelet-config.v1beta1/).
333-
的 `ConfigMapAndSecretChangeDetectionStrategy` 字段来配置。
333+
的 `configMapAndSecretChangeDetectionStrategy` 字段来配置。
334334

335335
<!--
336336
A ConfigMap can be either propagated by watch (default), ttl-based, or by redirecting

content/zh-cn/docs/contribute/new-content/open-a-pr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ Figure 2. Working from a local fork to make your changes.
276276
1. 打开终端窗口,克隆你所派生的副本,并更新 [Docsy Hugo 主题](https://github.com/google/docsy#readme)
277277

278278
```shell
279-
git clone [email protected]/<github_username>/website
279+
git clone [email protected]:<github_username>/website
280280
cd website
281281
git submodule update --init --recursive --depth 1
282282
```

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ symlinks, devices, pipes, and more).
133133

134134
{{< note >}}
135135
<!--
136-
Each filename being used for ConfigMap creation must consist of only acceptable characters, which are: letters (`A` to `Z` and `a` to z`), digits (`0` to `9`), '-', '_', or '.'.
136+
Each filename being used for ConfigMap creation must consist of only acceptable characters, which are: letters (`A` to `Z` and `a` to `z`), digits (`0` to `9`), '-', '_', or '.'.
137137
If you use `kubectl create configmap` with a directory where any of the file names contains an unacceptable character, the `kubectl` command may fail.
138138
-->
139139
用于创建 ConfigMap 的每个文件名必须由可接受的字符组成,即:字母(`A``Z`

0 commit comments

Comments
 (0)