Skip to content

Commit

Permalink
docs: Get role names automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
l0b0 committed Sep 27, 2024
1 parent 9a23115 commit 35be3a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/infrastructure/kubernetes.version.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Below is an example of upgrading from v1.27 to v1.28
4. Diff the stack to make sure that only versions are updated (change to `Workflows` stack for production)
```bash
npx cdk diff WorkflowsNP -c ci-role-arn=...
npx cdk diff --context=maintainer-arns=$(aws iam list-roles | jq --raw-output '.Roles[] | select(.RoleName | contains("CiTopo")) | select(.RoleName | contains("-CiRole")).Arn'),$(aws iam list-roles | jq --raw-output '.Roles[] | select(.RoleName == "AccountAdminRole").Arn') WorkflowsNP
```
The only changes should be Kubernetes version related.
Expand Down

0 comments on commit 35be3a0

Please sign in to comment.