Skip to content

Commit

Permalink
testsys-launcher(docs): update README to use CFN context
Browse files Browse the repository at this point in the history
the stack switched from using parameterized roles for assuming the
testsys-admin role to assuming this role from context. Update
the README instructions for deploying to reflect this.

Signed-off-by: Gavin Inglis <[email protected]>
  • Loading branch information
ginglis13 committed Jan 10, 2024
1 parent fad39d2 commit b42ff8f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions deploy/testsys-launcher/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ cdk deploy
```

The default role that can assume the `testsys-admin` role is "Administrator".
During deployment, use `--parameter TestsysAssumerRole={MY-ROLE-NAME}` to specify
a different role that can assume the `testsys-admin` role.
To specify other roles to assume `testsys-admin`, modify `cdk.json` or use
a comma separated set of roles via CDK context like
`--context testsysAdminAssumedBy=<role1>,<role2>,<role3>`.

To get the kubeconfig, assuming you are acting as the role that can assume `testsys-admin`,
use the `aws eks update-kubeconfig` command with the `testsys-admin` role:
Expand Down Expand Up @@ -42,5 +43,8 @@ Bottlerocket nodes on the cluster consume the latest releases and stay up to dat

## Optional Parameters

* `TestsysAssumerRole` name of the role that can assume the `testsys-admin` role to perform cluster operations _(string)_ - Default: "Administrator"
* `TestsysNodegroupSize` number of instances for the testsys node-group _(number)_ - Default: "3"

## Optional Context

* `testsysAdminAssumedBy`: a comma separated list of roles that can assume the `testsys-admin` role - Default: "Administrator"

0 comments on commit b42ff8f

Please sign in to comment.