Skip to content

Commit 229cdb7

Browse files
[zh] docs: sync and update the ref
Signed-off-by: zhangguanzhang <[email protected]>
1 parent 93f57fd commit 229cdb7

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

content/zh/docs/concepts/configuration/organize-cluster-access-kubeconfig.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,17 @@ It does not mean that there is a file named `kubeconfig`.
3030
用于配置集群访问的文件称为 *kubeconfig 文件*。这是引用配置文件的通用方法。这并不意味着有一个名为 `kubeconfig` 的文件
3131
{{< /note >}}
3232

33+
<!--
34+
{{< warning >}}
35+
Only use kubeconfig files from trusted sources. Using a specially-crafted kubeconfig file could result in malicious code execution or file exposure.
36+
If you must use an untrusted kubeconfig file, inspect it carefully first, much as you would a shell script.
37+
{{< /warning>}}
38+
-->
39+
{{< warning >}}
40+
只使用来源可靠的 kubeconfig 文件。使用特制的 kubeconfig 文件可能会导致恶意代码执行或文件暴露。
41+
如果必须使用不受信任的 kubeconfig 文件,请首先像检查 shell 脚本一样仔细检查它。
42+
{{< /warning>}}
43+
3344
<!--
3445
By default, `kubectl` looks for a file named `config` in the `$HOME/.kube` directory.
3546
You can specify other kubeconfig files by setting the `KUBECONFIG` environment

content/zh/docs/concepts/configuration/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This is a living document. If you think of something that is not on this list bu
2525
<!--
2626
## General Configuration Tips
2727
-->
28-
## 一般配置提示
28+
## 一般配置提示 {#general-configuration-tips}
2929

3030
<!--
3131
- When defining configurations, specify the latest stable API version.
@@ -71,7 +71,7 @@ This is a living document. If you think of something that is not on this list bu
7171
<!--
7272
## "Naked" Pods vs ReplicaSets, Deployments, and Jobs
7373
-->
74-
## “Naked”Pods 与 ReplicaSet,Deployment 和 Jobs
74+
## “Naked” Pods 与 ReplicaSet,Deployment 和 Jobs
7575

7676
<!--
7777
- Don't use naked Pods (that is, Pods not bound to a [ReplicaSet](/docs/concepts/workloads/controllers/replicaset/) or [Deployment](/docs/concepts/workloads/controllers/deployment/)) if you can avoid it. Naked Pods will not be rescheduled in the event of a node failure.

content/zh/docs/tasks/administer-cluster/encrypt-data.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,11 @@ program to retrieve the contents of your secret.
253253
```
254254

255255
<!--
256-
should match `mykey: mydata`, mydata is encoded, check [decoding a secret](/docs/concepts/configuration/secret#decoding-a-secret) to
256+
should match `mykey: mydata`, mydata is encoded, check [decoding a secret](/docs/tasks/configmap-secret/managing-secret-using-kubectl/#decoding-secret) to
257257
completely decode the secret.
258258
-->
259259
其输出应该是 `mykey: bXlkYXRh``mydata` 数据是被加密过的,请参阅
260-
[解密 Secret](/zh/docs/concepts/configuration/secret#decoding-a-secret)
260+
[解密 Secret](/zh/docs/tasks/configmap-secret/managing-secret-using-kubectl/#decoding-secret)
261261
了解如何完全解码 Secret 内容。
262262

263263
<!--

0 commit comments

Comments
 (0)