Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
ref(configuring-registry): clarify ECR registry variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma committed Sep 14, 2016
1 parent c95c24b commit 495e1a1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/installing-workflow/configuring-registry.md
Expand Up @@ -37,9 +37,11 @@ Deis Workflow currently supports
export ECR_ACCESS_KEY, ECR_SECRET_KEY, ECR_REGION, ECR_REGISTRY_ID, ECR_HOSTNAME export ECR_ACCESS_KEY, ECR_SECRET_KEY, ECR_REGION, ECR_REGISTRY_ID, ECR_HOSTNAME
``` ```


To use [IAM credentials][aws-iam], it is not necessary to set `ECR_ACCESS_KEY` or `ECR_SECRET_KEY`. `ECR_ACCESS_KEY` and `ECR_SECRET_KEY` are the Access Key ID and Secret Access Key which have access to the container registry. `ECR_ACCESS_KEY` and `ECR_SECRET_KEY` are an AWS access key ID and secret access key with permission to use the container registry. To use [IAM credentials][aws-iam], it is not necessary to set either value, in which case the credentials used to provision the cluster will be used.
If `ECR_REGISTRY_ID` is left empty then default registry of the account will be used.
`ECR_HOSTNAME` needs to be set if the default hostname is an alias (CNAME) or the cluster is behind a proxy. If `ECR_REGISTRY_ID` is empty, the default registry for the provisioning account will be used.

`ECR_HOSTNAME` only needs to be set if the default hostname is an alias (CNAME) or if the cluster is behind a proxy.




* For `REGISTRY_LOCATION=off-cluster`: * For `REGISTRY_LOCATION=off-cluster`:
Expand Down

0 comments on commit 495e1a1

Please sign in to comment.