Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fix in Installation doc #24

Merged
merged 1 commit into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions assets/scripts/permissions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ s3:GetObjectTagging
s3:GetObjectVersion
s3:PutObject
s3:PutObjectTagging
s3:PutBucketAcl
s3:PutObjectAcl
s3:PutBucketPolicy
s3:PutBucketPublicAccessBlock
s3:PutBucketTagging
autoscaling:DescribeAutoScalingGroups
ec2:DeletePlacementGroup
ec2:DeleteNetworkInterface
Expand Down
14 changes: 11 additions & 3 deletions docs/1-GettingStarted/3-Installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ aws s3api create-bucket --bucket $BUCKET --region us-east-1
aws s3api put-object --bucket $BUCKET --key "pull-secets" --region us-east-1
```

#### Rename pull-secrets

The ```pull-secret``` downloads as a txt file and will need to be changed to json:

```
mv pull-secret.txt pull-secret.json
```

#### Upload pull-secrets.json to s3bucket/pull-secrets

```
Expand Down Expand Up @@ -92,22 +100,22 @@ Review ***"parameters-override.yaml"***, the following changes will need to be m
Create the role by running the following command:

```
aws cloudformation deploy --stack-name OCPInstall-role-1 -template-file OCPInstallRole.yaml --capabilities CAPABILITY_NAMED_IAM --tags *add Key=Value tag here*
aws cloudformation deploy --stack-name OCPInstall-role-1 --template-file OCPInstallRole.yaml --capabilities CAPABILITY_NAMED_IAM --tags *add Key=Value tag here*
```

#### Create LambdaExecution Role
[Download the LambdaExecutionRole.yaml](../../assets/Cloudformation/LambdaExecutionRole.yaml) \
Create the role by running the following command:

```
aws cloudformation deploy --stack-name LambdaExecutionRole -template-file LambdaExecutionRole.yaml --capabilities CAPABILITY_NAMED_IAM --tags *add Key=Value tag here*
aws cloudformation deploy --stack-name LambdaExecutionRole- -template-file LambdaExecutionRole.yaml --capabilities CAPABILITY_NAMED_IAM --tags *add Key=Value tag here*
```
#### Create OCPCloudform Role
[Download the OCPCloudFormRole.yaml](../../assets/Cloudformation/OCPCloudFormRole.yaml) \
Create the role by running the following command:

```
aws cloudformation deploy --stack-name OCPCloudFormRole -template-file OCPCloudFormRole.yaml --capabilities CAPABILITY_NAMED_IAM --tags *add Key=Value tag here*
aws cloudformation deploy --stack-name OCPCloudFormRole --template-file OCPCloudFormRole.yaml --capabilities CAPABILITY_NAMED_IAM --tags *add Key=Value tag here*
```

#### Deply cloudformation template using AWS CLI
Expand Down
Loading