Skip to content

Commit

Permalink
use image from DUMMY_SERVER in the example
Browse files Browse the repository at this point in the history
  • Loading branch information
pacoxu committed Oct 12, 2023
1 parent c818b27 commit 810272b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ Next, verify it has been created. For example:
[Specifying ImagePullSecrets on a Pod](/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod).

```shell
kubectl create secret docker-registry myregistrykey --docker-server=DUMMY_SERVER \
kubectl create secret docker-registry myregistrykey --docker-server=<registry name> \
--docker-username=DUMMY_USERNAME --docker-password=DUMMY_DOCKER_PASSWORD \
--docker-email=DUMMY_DOCKER_EMAIL
```
Expand Down Expand Up @@ -341,7 +341,7 @@ Now, when a new Pod is created in the current namespace and using the default
ServiceAccount, the new Pod has its `spec.imagePullSecrets` field set automatically:

```shell
kubectl run nginx --image=nginx --restart=Never
kubectl run nginx --image=<registry name>/nginx --restart=Never
kubectl get pod nginx -o=jsonpath='{.spec.imagePullSecrets[0].name}{"\n"}'
```

Expand Down

0 comments on commit 810272b

Please sign in to comment.