Skip to content

Commit 184ef65

Browse files
authored
Merge pull request #43896 from my-git9/patch-12763
[zh-cn] sync ns-level-pss.md seccomp.md
2 parents 3c607c1 + a8f1c1a commit 184ef65

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

content/zh-cn/docs/tutorials/security/ns-level-pss.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,22 @@ Pod Security Admission 是一个准入控制器,在创建 Pod 时应用 [Pod
4040
<!--
4141
Install the following on your workstation:
4242
43-
- [KinD](https://kind.sigs.k8s.io/docs/user/quick-start/#installation)
43+
- [kind](https://kind.sigs.k8s.io/docs/user/quick-start/#installation)
4444
- [kubectl](/docs/tasks/tools/)
4545
-->
4646
在你的工作站中安装以下内容:
4747

48-
- [KinD](https://kind.sigs.k8s.io/docs/user/quick-start/#installation)
48+
- [kind](https://kind.sigs.k8s.io/docs/user/quick-start/#installation)
4949
- [kubectl](/zh-cn/docs/tasks/tools/)
5050

5151
<!--
5252
## Create cluster
5353
54-
1. Create a `KinD` cluster as follows:
54+
1. Create a `kind` cluster as follows:
5555
-->
5656
## 创建集群 {#create-cluster}
5757

58-
2. 按照如下方式创建一个 `KinD` 集群:
58+
2. 按照如下方式创建一个 `kind` 集群:
5959

6060
```shell
6161
kind create cluster --name psa-ns-level
@@ -233,7 +233,7 @@ kind delete cluster --name psa-ns-level
233233
[shell script](/examples/security/kind-with-namespace-level-baseline-pod-security.sh)
234234
to perform all the preceding steps all at once.
235235
236-
1. Create KinD cluster
236+
1. Create kind cluster
237237
2. Create new namespace
238238
3. Apply `baseline` Pod Security Standard in `enforce` mode while applying
239239
`restricted` Pod Security Standard also in `warn` and `audit` mode.
@@ -246,7 +246,7 @@ kind delete cluster --name psa-ns-level
246246
- 运行一个 [shell 脚本](/examples/security/kind-with-namespace-level-baseline-pod-security.sh)
247247
一次执行所有前面的步骤。
248248

249-
1. 创建 KinD 集群
249+
1. 创建 kind 集群
250250
2. 创建新的名字空间
251251
3.`enforce` 模式下应用 `baseline` Pod 安全标准,
252252
同时在 `warn``audit` 模式下应用 `restricted` Pod 安全标准。

content/zh-cn/docs/tutorials/security/seccomp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -811,15 +811,15 @@ kind: Cluster
811811
apiVersion: kind.x-k8s.io/v1alpha4
812812
nodes:
813813
- role: control-plane
814-
image: kindest/node:v1.23.0@sha256:49824ab1727c04e56a21a5d8372a402fcd32ea51ac96a2706a12af38934f81ac
814+
image: kindest/node:v1.28.0@sha256:9f3ff58f19dcf1a0611d11e8ac989fdb30a28f40f236f59f0bea31fb956ccf5c
815815
kubeadmConfigPatches:
816816
- |
817817
kind: JoinConfiguration
818818
nodeRegistration:
819819
kubeletExtraArgs:
820820
seccomp-default: "true"
821821
- role: worker
822-
image: kindest/node:v1.23.0@sha256:49824ab1727c04e56a21a5d8372a402fcd32ea51ac96a2706a12af38934f81ac
822+
image: kindest/node:v1.28.0@sha256:9f3ff58f19dcf1a0611d11e8ac989fdb30a28f40f236f59f0bea31fb956ccf5c
823823
kubeadmConfigPatches:
824824
- |
825825
kind: JoinConfiguration

0 commit comments

Comments
 (0)