Skip to content

Commit 6cf5ce0

Browse files
authored
fix bad format (#19489)
1 parent d41e491 commit 6cf5ce0

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

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

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,6 @@ For example: -->
7373
你可以使用 `kubectl create configmap` 从同一目录中的多个文件创建 ConfigMap。
7474

7575
例如:
76-
77-
<!-- # Create the local directory
78-
mkdir -p configure-pod-container/configmap/
79-
80-
# Download the sample files into `configure-pod-container/configmap/` directory
81-
wget https://kubernetes.io/examples/configmap/game.properties -O configure-pod-container/configmap/game.properties
82-
wget https://kubernetes.io/examples/configmap/ui.properties -O configure-pod-container/configmap/ui.properties
83-
84-
# Create the configmap
85-
kubectl create configmap game-config --from-file=configure-pod-container/configmap/ -->
86-
8776
```shell
8877
# 创建本地目录
8978
mkdir -p configure-pod-container/configmap/
@@ -534,18 +523,6 @@ configmap/game-config-5-m67dt67794 created
534523
<!-- To generate a ConfigMap from literals `special.type=charm` and `special.how=very`,
535524
you can specify the ConfigMap generator in `kusotmization.yaml` as -->
536525
要从文字 `special.type=charm``special.how=very` 生成 ConfigMap,可以在 `kusotmization.yaml` 中将 ConfigMap 生成器指定。
537-
538-
<!-- ```shell
539-
# Create a kustomization.yaml file with ConfigMapGenerator
540-
cat <<EOF >./kustomization.yaml
541-
configMapGenerator:
542-
- name: special-config-2
543-
literals:
544-
- special.how=very
545-
- special.type=charm
546-
EOF
547-
``` -->
548-
549526
```shell
550527
# 使用 ConfigMapGenerator 创建 kustomization.yaml 文件
551528
cat <<EOF >./kustomization.yaml

0 commit comments

Comments
 (0)