Skip to content

Commit

Permalink
edited clean up text, codes in intro page
Browse files Browse the repository at this point in the history
  • Loading branch information
yunjianlu committed Nov 15, 2024
1 parent 5f30db9 commit 6b2013b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ logmessage "Deleting resources created by ACK..."

delete-all-if-crd-exists tables.dynamodb.services.k8s.aws

uninstall-helm-chart ack-dynamodb ack-dynamodb-dynamodb-chart
uninstall-helm-chart ack-dynamodb ack-dynamodb-chart
3 changes: 2 additions & 1 deletion website/docs/automation/controlplanes/ack/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Each ACK service controller is packaged into a separate container image that is

In this section, since we will be working with Amazon DynamoDB ACK, we first need to install the ACK controller by using the Helm chart. As we ran the prepare-environment earlier, a role with proper permision is created for the ACK controller. Now let's create a service account and associate it with that role.
```bash
$ kubectl create ns ack-dynamodb
$ kubectl create sa ack-ddb-sa --namespace ack-dynamodb
$ kubectl annotate serviceaccount -n ack-dynamodb ack-ddb-sa \
eks.amazonaws.com/role-arn=$ACK_IAM_ROLE --overwrite
Expand All @@ -16,7 +17,7 @@ Next, let us install the DynamoDB ACK controller by using the following commends
```bash
$ aws ecr-public get-login-password --region us-east-1 | \
helm registry login --username AWS --password-stdin public.ecr.aws
$ helm install -n ack-dynamodb ack-dynamodb --create-namespace \
$ helm install -n ack-dynamodb ack \
oci://public.ecr.aws/aws-controllers-k8s/dynamodb-chart \
--version=1.1.1 \
--set=aws.region=$AWS_REGION \
Expand Down

0 comments on commit 6b2013b

Please sign in to comment.