-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fd907c3
commit 27684dc
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,7 +82,7 @@ terraform apply tfplan-destroy | |
|
||
## Faas registry | ||
|
||
### Prepare your Docker registry (if using AWS ECR) | ||
### Prepare your Docker registry (if using AWS ECR) - (deprecated) | ||
|
||
``` | ||
faas-cli registry-login --ecr --region <your-aws-region> --account-id <your-account-id> | ||
|
@@ -109,28 +109,28 @@ git clone link-of-function-repo | |
git clone [email protected]:singnet/das-infra-stack-vultr.git | ||
``` | ||
|
||
configure aws, putting the credential to aws: | ||
''' | ||
configure aws, putting the credential to aws (deprecated): | ||
``` | ||
aws configure | ||
''' | ||
``` | ||
|
||
Connecting docker on aws ecr registry: | ||
''' | ||
Connecting docker on aws ecr registry (deprecated): | ||
``` | ||
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 038760728819.dkr.ecr.us-east-1.amazonaws.com/das | ||
''' | ||
``` | ||
|
||
generating credentials folder to faas stack: | ||
generating credentials folder to faas stack (deprecated): | ||
|
||
``` | ||
cd DAS-deployment-openFaas | ||
faas-cli registry-login --ecr --region us-east-1 --account-id 038760728819 | ||
``` | ||
|
||
login to faas gateway: | ||
''' | ||
``` | ||
sudo cat /var/lib/faasd/secrets/basic-auth-password | ||
faas-cli login -u admin -p password | ||
''' | ||
``` | ||
|
||
copy the docker config auth to faas config auth: | ||
|
||
|