From 7e6f1bd852207416068513fd00b139cc1298346b Mon Sep 17 00:00:00 2001 From: Eric Tune Date: Wed, 24 Jun 2015 15:17:07 -0700 Subject: [PATCH] Fix imagePullSecrets example. --- docs/images.md | 63 ++++++++++++++++++++++++++------------------------ 1 file changed, 33 insertions(+), 30 deletions(-) diff --git a/docs/images.md b/docs/images.md index aeefb1fc0e8..44dccbdd7a6 100644 --- a/docs/images.md +++ b/docs/images.md @@ -25,7 +25,7 @@ Credentials can be provided in several ways: - Pre-pulling Images - all pods can use any images cached on a node - requires root access to all nodes to setup - - Specifying ImagePullKeys on a Pod + - Specifying ImagePullSecrets on a Pod - only pods which provide own keys can access the private registry Each option is described in more detail below. @@ -68,43 +68,46 @@ This can be used to preload certain images for speed or as an alternative to aut All pods will have read access to any pre-pulled images. -### Specifying ImagePullKeys on a Pod +### Specifying ImagePullSecrets on a Pod Kubernetes supports specifying registry keys on a pod. First, create a `.dockercfg`, such as running `docker login `. -Then put the resulting `.dockercfg` file into a [secret resource](../docs/secret.md). For example: +Then put the resulting `.dockercfg` file into a [secret resource](../docs/secrets.md). For example: ``` -cat > dockercfg < secret.json < image-pull-secret.yaml <