(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:
committed by
Steve Perry
parent
424a4f2f71
commit
25363bba54
@@ -4,8 +4,8 @@ metadata:
|
|||||||
name: private-reg
|
name: private-reg
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: private-reg-container
|
- name: private-reg-container
|
||||||
image: <your-private-image>
|
image: <your-private-image>
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: regsecret
|
- name: regsecret
|
||||||
|
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ metadata:
|
|||||||
name: private-reg
|
name: private-reg
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: private-reg-container
|
- name: private-reg-container
|
||||||
image: <your-private-image>
|
image: <your-private-image>
|
||||||
imagePullSecrets:
|
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" %}
|
{% 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
|
Download the above file:
|
||||||
`my-private-reg-pod.yaml`. In your file, replace `<your-private-image>` with
|
|
||||||
the path to an image in a private repository.
|
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:
|
Example Docker Hub private image:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user