You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That example manifest defines a Secret with two keys in the `data` field: `username` and `password`.
297
-
The values are Base64 strings in the manifest; however, when you use the Secret with a Pod
298
-
then the kubelet provides the _decoded_ data to the Pod and its containers.
277
+
You can also edit the data in a Secret using the [Kustomize tool](/docs/tasks/configmap-secret/managing-secret-using-kustomize/#edit-secret). However, this
278
+
method creates a new `Secret` object with the edited data.
299
279
300
-
You can package many keys and values into one Secret, or use many Secrets, whichever is convenient.
280
+
Depending on how you created the Secret, as well as how the Secret is used in
281
+
your Pods, updates to existing `Secret` objects are propagated automatically to
282
+
Pods that use the data. For more information, refer to [Mounted Secrets are updated automatically](#mounted-secrets-are-updated-automatically).
1. Create a Secret (or use an existing one). Multiple Pods can reference the same Secret.
@@ -865,7 +848,7 @@ The `imagePullSecrets` field for a Pod is a list of references to Secrets in the
865
848
as the Pod.
866
849
You can use an `imagePullSecrets` to pass image registry access credentials to
867
850
the kubelet. The kubelet uses this information to pull a private image on behalf of your Pod.
868
-
See the [PodSpec API](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#podspec-v1-core)
851
+
See `PodSpec` in the [Pod API reference](/docs/reference/kubernetes-api/workload-resources/pod-v1/#PodSpec)
869
852
for more information about the `imagePullSecrets` field.
870
853
-->
871
854
Pod 的 `imagePullSecrets` 字段是一个对 Pod 所在的名字空间中的 Secret
@@ -880,7 +863,8 @@ kubelet 使用这个信息来替你的 Pod 拉取私有镜像。
880
863
The `imagePullSecrets` field is a list of references to secrets in the same namespace.
881
864
You can use an `imagePullSecrets` to pass a secret that contains a Docker (or other) image registry
882
865
password to the kubelet. The kubelet uses this information to pull a private image on behalf of your Pod.
883
-
See the [PodSpec API](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#podspec-v1-core) for more information about the `imagePullSecrets` field.
866
+
See the [PodSpec API](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#podspec-v1-core)
867
+
for more information about the `imagePullSecrets` field.
0 commit comments