@@ -25,13 +25,13 @@ You will need to have the following tools installed:
25
25
- `cosign` ([install guide](https://docs.sigstore.dev/cosign/installation/))
26
26
- `curl` (often provided by your operating system)
27
27
-->
28
- 这些说明适用于 Kubernetes {{< skew currentVersion >}}。如果你想要检查其他版本的 Kubernetes 组件的完整性,
29
- 请查看对应 Kubernetes 版本的文档。
28
+ 这些说明适用于 Kubernetes {{< skew currentVersion >}}。
29
+ 如果你想要检查其他版本的 Kubernetes 组件的完整性, 请查看对应 Kubernetes 版本的文档。
30
30
31
- 你需要安装以下工具:
31
+ 你需要安装以下工具:
32
32
33
- - ` cosign ` ( [ 安装指南] ( https://docs.sigstore.dev/cosign/installation/ ) )
34
- - ` curl ` ( 通常由你的操作系统提供)
33
+ - ` cosign ` ( [ 安装指南] ( https://docs.sigstore.dev/cosign/installation/ ) )
34
+ - ` curl ` ( 通常由你的操作系统提供)
35
35
36
36
<!--
37
37
## Verifying image signatures
@@ -44,19 +44,19 @@ the `cosign verify` command:
44
44
-->
45
45
## 验证镜像签名 {#verifying-image-signatures}
46
46
47
- 完整的镜像签名列表请参见[ 发行版本] ( /releases/download/ ) 。
47
+ 完整的镜像签名列表请参见[ 发行版本] ( /zh-cn/ releases/download/ ) 。
48
48
49
- 我们从这个列表中选择一个镜像 ,并使用 ` cosign verify ` 命令来验证它的签名:
49
+ 从这个列表中选择一个镜像 ,并使用 ` cosign verify ` 命令来验证它的签名:
50
50
51
51
``` shell
52
- COSIGN_EXPERIMENTAL=1 cosign verify k8s.gcr .io/kube-apiserver-amd64:v1.24.0
52
+ COSIGN_EXPERIMENTAL=1 cosign verify registry.k8s .io/kube-apiserver-amd64:v1.24.0
53
53
```
54
54
55
55
{{< note >}}
56
56
<!--
57
57
`COSIGN_EXPERIMENTAL=1` is used to allow verification of images signed
58
58
in `KEYLESS` mode. To learn more about keyless signing, please refer to
59
- [Keyless Signatures](https://github.com/sigstore/cosign/blob/main/KEYLESS.md#keyless-signatures)
59
+ [Keyless Signatures](https://github.com/sigstore/cosign/blob/main/KEYLESS.md#keyless-signatures).
60
60
-->
61
61
` COSIGN_EXPERIMENTAL=1 ` 用于对以 ` KEYLESS ` 模式签名的镜像进行验证。想要进一步了解 ` KEYLESS ` ,请参考
62
62
[ Keyless Signatures] ( https://github.com/sigstore/cosign/blob/main/KEYLESS.md#keyless-signatures ) 。
@@ -72,7 +72,7 @@ To verify all signed control plane images, please run this command:
72
72
验证所有已签名的控制平面组件镜像,请运行以下命令:
73
73
74
74
``` shell
75
- curl -Ls https://sbom.k8s.io/$( curl -Ls https://dl.k8s.io/release/latest.txt) /release | grep ' PackageName: k8s.gcr .io/' | awk ' {print $2}' > images.txt
75
+ curl -Ls https://sbom.k8s.io/$( curl -Ls https://dl.k8s.io/release/latest.txt) /release | grep ' PackageName: registry.k8s .io/' | awk ' {print $2}' > images.txt
76
76
input=images.txt
77
77
while IFS= read -r image
78
78
do
0 commit comments