diff --git a/content/zh-cn/docs/concepts/configuration/configmap.md b/content/zh-cn/docs/concepts/configuration/configmap.md index 9cc4cffaf7675..7d4a187372c3f 100644 --- a/content/zh-cn/docs/concepts/configuration/configmap.md +++ b/content/zh-cn/docs/concepts/configuration/configmap.md @@ -189,7 +189,7 @@ Here's an example Pod that uses values from `game-demo` to configure a Pod: 下面是一个 Pod 的示例,它通过使用 `game-demo` 中的值来配置一个 Pod: -{{< codenew file="configmap/configure-pod.yaml" >}} +{{% code file="configmap/configure-pod.yaml" %}} -此功能特性由 `ImmutableEphemeralVolumes` -[特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)来控制。 你可以通过将 `immutable` 字段设置为 `true` 创建不可变更的 ConfigMap。 例如: