From b49512164097f37bb989a3d9dd1e98f82b147923 Mon Sep 17 00:00:00 2001 From: "xin.li" Date: Thu, 11 May 2023 21:34:57 +0800 Subject: [PATCH] [zh-cn] sync configmap open-a-pr configure-pod-configmap Signed-off-by: xin.li --- content/zh-cn/docs/concepts/configuration/configmap.md | 4 ++-- content/zh-cn/docs/contribute/new-content/open-a-pr.md | 2 +- .../tasks/configure-pod-container/configure-pod-configmap.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/zh-cn/docs/concepts/configuration/configmap.md b/content/zh-cn/docs/concepts/configuration/configmap.md index a63a3ff83c..9cc4cffaf7 100644 --- a/content/zh-cn/docs/concepts/configuration/configmap.md +++ b/content/zh-cn/docs/concepts/configuration/configmap.md @@ -320,7 +320,7 @@ ConfigMap,你只需要设置一个 `spec.volumes` 块。 When a ConfigMap currently consumed in a volume is updated, projected keys are eventually updated as well. The kubelet checks whether the mounted ConfigMap is fresh on every periodic sync. However, the kubelet uses its local cache for getting the current value of the ConfigMap. -The type of the cache is configurable using the `ConfigMapAndSecretChangeDetectionStrategy` field in +The type of the cache is configurable using the `configMapAndSecretChangeDetectionStrategy` field in the [KubeletConfiguration struct](/docs/reference/config-api/kubelet-config.v1beta1/). --> #### 被挂载的 ConfigMap 内容会被自动更新 @@ -330,7 +330,7 @@ kubelet 组件会在每次周期性同步时检查所挂载的 ConfigMap 是否 不过,kubelet 使用的是其本地的高速缓存来获得 ConfigMap 的当前值。 高速缓存的类型可以通过 [KubeletConfiguration 结构](/zh-cn/docs/reference/config-api/kubelet-config.v1beta1/). -的 `ConfigMapAndSecretChangeDetectionStrategy` 字段来配置。 +的 `configMapAndSecretChangeDetectionStrategy` 字段来配置。 用于创建 ConfigMap 的每个文件名必须由可接受的字符组成,即:字母(`A` 到 `Z` 和