Skip to content

Commit ce3c9ee

Browse files
authored
Merge pull request #36219 from windsonsea/secretyhf
[zh-cn] sync1.25 /configuration/secret.md
2 parents 9060041 + 0e9a822 commit ce3c9ee

File tree

1 file changed

+4
-4
lines changed
  • content/zh-cn/docs/concepts/configuration

1 file changed

+4
-4
lines changed

content/zh-cn/docs/concepts/configuration/secret.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ metadata:
964964
spec:
965965
containers:
966966
- name: test-container
967-
image: k8s.gcr.io/busybox
967+
image: registry.k8s.io/busybox
968968
command: [ "/bin/sh", "-c", "env" ]
969969
envFrom:
970970
- secretRef:
@@ -1204,7 +1204,7 @@ kubectl apply -k .
12041204
Both containers will have the following files present on their filesystems with the values
12051205
for each container's environment:
12061206
-->
1207-
两个文件都会在其文件系统中出现下面面的文件,文件中内容是各个容器的环境值:
1207+
两个文件都会在其文件系统中出现下面的文件,文件中内容是各个容器的环境值:
12081208

12091209
```
12101210
/etc/secret-volume/username
@@ -1279,7 +1279,7 @@ spec:
12791279
secretName: dotfile-secret
12801280
containers:
12811281
- name: dotfile-test-container
1282-
image: k8s.gcr.io/busybox
1282+
image: registry.k8s.io/busybox
12831283
command:
12841284
- ls
12851285
- "-l"
@@ -2206,7 +2206,7 @@ Pod 来访问 Secret 的内容。
22062206
<!--
22072207
- In the API server, objects (including Secrets) are persisted into
22082208
{{< glossary_tooltip term_id="etcd" >}}; therefore:
2209-
- only allow cluster admistrators to access etcd (this includes read-only access);
2209+
- only allow cluster administrators to access etcd (this includes read-only access);
22102210
- enable [encryption at rest](/docs/tasks/administer-cluster/encrypt-data/)
22112211
for Secret objects, so that the data of these Secrets are not stored in the clear
22122212
into {{< glossary_tooltip term_id="etcd" >}};

0 commit comments

Comments
 (0)