Skip to content

Commit b3ccf05

Browse files
committed
sync managing-secret-using-kubectl managing-secret-using-kustomize crictl
1 parent 3a25d2c commit b3ccf05

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

content/zh-cn/docs/tasks/configmap-secret/managing-secret-using-kubectl.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ characters.
7070
你必须使用单引号 `''` 转义字符串中的特殊字符,如 `$``\``*``=``!` 。否则,你的 shell
7171
将会解析这些字符。
7272

73+
{{< note >}}
74+
<!--
75+
The `stringData` field for a Secret does not work well with server-side apply.
76+
-->
77+
Secret 的 `stringData` 字段与服务端应用不兼容。
78+
{{< /note >}}
79+
7380
<!--
7481
### Use source files
7582
-->

content/zh-cn/docs/tasks/configmap-secret/managing-secret-using-kustomize.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ file for the username `admin` and the password `1f2d1e2e67df`.
4444
并在定义中引用其它本地文件、`.env` 文件或文字值生成 Secret。
4545
例如:下面的指令为用户名 `admin` 和密码 `1f2d1e2e67df` 创建 Kustomization 文件。
4646

47+
{{< note >}}
48+
<!--
49+
The `stringData` field for a Secret does not work well with server-side apply.
50+
-->
51+
Secret 的 `stringData` 字段与服务端应用不兼容。
52+
{{< /note >}}
53+
4754
### 创建 Kustomization 文件 {#create-the-kustomization-file}
4855

4956
{{< tabs name="Secret data" >}}

content/zh-cn/docs/tasks/debug/debug-cluster/crictl.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,13 +423,13 @@ deleted by the Kubelet.
423423
### Create a container
424424
425425
Using `crictl` to create a container is useful for debugging container runtimes.
426-
On a running Kubernetes cluster, the sandbox will eventually be stopped and
426+
On a running Kubernetes cluster, the container will eventually be stopped and
427427
deleted by the Kubelet.
428428
-->
429429
### 创建容器 {#create-a-container}
430430

431431
`crictl` 创建容器对容器运行时排错很有帮助。
432-
在运行的 Kubernetes 集群中,沙盒会随机地被 kubelet 停止和删除。
432+
在运行的 Kubernetes 集群中,容器最终将被 kubelet 停止和删除。
433433

434434
<!--
435435
1. Pull a busybox image

0 commit comments

Comments
 (0)