(Private registry configs): link to the private registry pod manifest (#5807)

add download link to the private registry pod manifest in docs.
This commit is contained in:
Suraj Deshmukh
2017-10-08 20:46:36 +05:30
committed by Steve Perry
parent 424a4f2f71
commit 25363bba54
3 changed files with 12 additions and 9 deletions
@@ -4,8 +4,8 @@ metadata:
name: private-reg
spec:
containers:
- name: private-reg-container
image: <your-private-image>
- name: private-reg-container
image: <your-private-image>
imagePullSecrets:
- name: regsecret
- name: regsecret
@@ -4,8 +4,8 @@ metadata:
name: private-reg
spec:
containers:
- name: private-reg-container
image: <your-private-image>
- name: private-reg-container
image: <your-private-image>
imagePullSecrets:
- name: regsecret
- name: regsecret
@@ -102,9 +102,12 @@ Here is a configuration file for a Pod that needs access to your secret data:
{% include code.html language="yaml" file="private-reg-pod.yaml" ghlink="/docs/tasks/configure-pod-container/private-reg-pod.yaml" %}
Copy the contents of `private-reg-pod.yaml` to your own file named
`my-private-reg-pod.yaml`. In your file, replace `<your-private-image>` with
the path to an image in a private repository.
Download the above file:
wget -O my-private-reg-pod.yaml https://k8s.io/docs/tasks/configure-pod-container/private-reg-pod.yaml
In file `my-private-reg-pod.yaml`, replace `<your-private-image>` with the
path to an image in a private repository.
Example Docker Hub private image: