Skip to content

Commit

Permalink
Merge pull request #22 from tsebastiani/readme_fix
Browse files Browse the repository at this point in the history
Minor Readme fixes
  • Loading branch information
praveenkumar authored Jan 13, 2023
2 parents eb78756 + e8b4231 commit d846f4c
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,23 +57,23 @@ Please **be careful** on deleting the working directory content because without

#### Single node cluster creation
```
<podman|docker> run -v <HOST_WORKDIR_PATH>:/workdir\
-e WORKING_MODE=C\
-e PULL_SECRET="`base64 <PULL_SECRET_PATH>`"\
-e AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID>\
-e AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS>\
-e AWS_DEFAULT_REGION=<AWS_REGION_OF_YOUR_CHOICE>\
-ti quay.io/crcont/crc-cloud
<podman|docker> run -v <HOST_WORKDIR_PATH>:/workdir \
-e WORKING_MODE=C \
-e PULL_SECRET="`base64 <PULL_SECRET_PATH>`" \
-e AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID> \
-e AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS> \
-e AWS_DEFAULT_REGION=<AWS_REGION_OF_YOUR_CHOICE> \
quay.io/crcont/crc-cloud
```

#### Single node cluster teardown
```
<podman|docker> run -v <HOST_WORKDIR_ABSOLUTE_PATH>:/workdir\
-e WORKING_MODE=T\
-e TEARDOWN_RUN_ID=<TEARDOWN_RUN_ID>\
-e AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID>\
-e AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS>\
-e AWS_DEFAULT_REGION=us-west-2\
<podman|docker> run -v <HOST_WORKDIR_ABSOLUTE_PATH>:/workdir \
-e WORKING_MODE=T \
-e TEARDOWN_RUN_ID=<TEARDOWN_RUN_ID> \
-e AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID> \
-e AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS> \
-e AWS_DEFAULT_REGION=us-west-2 \
quay.io/crcont/crc-cloud
```
(check [here](#workdir) for **TEARDOWN_RUN_ID** infos and **WORKDIR** setup instructions )
Expand All @@ -99,7 +99,7 @@ Environment variables will be passed to the container from the command line invo
| VARIABLE | DESCRIPTION |
| --- | ---|
| WORKING_MODE | T (teardown) |
| TEARDOWN_ID | the name of the folder created inside the working directory, containing all the metadata needed to teardown the cluster (if specified in creation will match with CREATE_RUN_ID)|
| TEARDOWN_RUN_ID | the name of the folder created inside the working directory, containing all the metadata needed to teardown the cluster (if specified in creation will match with CREATE_RUN_ID)|
| AWS_ACCESS_KEY_ID | AWS access key (infos [here](#prereq)) |
| AWS_SECRET_ACCESS_KEY | AWS secret access key (infos [here](#prereq)) |
| AWS_DEFAULT_REGION | AWS region where the cluster has been deployed ( currently us-west-2 is the only supported) |
Expand Down

0 comments on commit d846f4c

Please sign in to comment.