File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
content/en/docs/concepts/containers Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -275,6 +275,8 @@ in private registries.
275
275
{{< /note >}}
276
276
277
277
Kubernetes supports specifying container image registry keys on a Pod.
278
+ ` imagePullSecrets ` must all be in the same namespace as the Pod. The referenced
279
+ Secrets must be of type ` kubernetes.io/dockercfg ` or ` kubernetes.io/dockerconfigjson ` .
278
280
279
281
#### Creating a Secret with a Docker config
280
282
@@ -303,7 +305,8 @@ so this process needs to be done one time per namespace.
303
305
#### Referring to an imagePullSecrets on a Pod
304
306
305
307
Now, you can create pods which reference that secret by adding an ` imagePullSecrets `
306
- section to a Pod definition.
308
+ section to a Pod definition. Each item in the ` imagePullSecrets ` array can only
309
+ reference a Secret in the same namespace.
307
310
308
311
For example:
309
312
You can’t perform that action at this time.
0 commit comments