Skip to content

Commit

Permalink
deprecated commands
Browse files Browse the repository at this point in the history
  • Loading branch information
levisingularity committed Sep 7, 2023
1 parent fd907c3 commit 27684dc
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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:

Expand Down

0 comments on commit 27684dc

Please sign in to comment.