Skip to content

Commit

Permalink
Issue #14703 - Update Images.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SupriyaSirbi authored Jun 6, 2019
1 parent ac3e49b commit 0986ec2
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions content/en/docs/concepts/containers/images.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,19 +281,7 @@ Kubernetes supports specifying registry keys on a pod.
Run the following command, substituting the appropriate uppercase values:

```shell
cat <<EOF > ./kustomization.yaml
secretGenerator:
- name: myregistrykey
type: docker-registry
literals:
- docker-server=DOCKER_REGISTRY_SERVER
- docker-username=DOCKER_USER
- docker-password=DOCKER_PASSWORD
- docker-email=DOCKER_EMAIL
EOF

kubectl apply -k .
secret/myregistrykey-66h7d4d986 created
kubectl create secret docker-registry <name> --docker-server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL
```

If you already have a Docker credentials file then, rather than using the above
Expand Down

0 comments on commit 0986ec2

Please sign in to comment.