(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
|
||||
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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user