Skip to content

Commit

Permalink
Merge pull request #3552 from banthaherder/main
Browse files Browse the repository at this point in the history
update docs to improve new developer experience
  • Loading branch information
k8s-ci-robot committed Jun 23, 2022
2 parents 44b5175 + 1e2de1f commit b6b66b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/book/src/topics/full-multitenancy-implementation.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ Time to build the managed cluster for pivoting the bootstrap cluster.
```bash
export AWS_SSH_KEY_NAME=default
export VPC_ADDON_VERSION="v1.10.2-eksbuild.1"
clusterctl generate cluster manager --flavor eks-managedmachinepool-vpccni --kubernetes-version v1.20.2 --worker-machine-count=3 > managed-cluster.yaml
clusterctl generate cluster managed --flavor eks-managedmachinepool-vpccni --kubernetes-version v1.20.2 --worker-machine-count=3 > managed-cluster.yaml
```

Edit the file and add the following to the `AWSManagedControlPlane` resource spec to point the controller to the manager account when creating the cluster.
Expand All @@ -199,7 +199,7 @@ metadata:
spec:
allowedNamespaces: {} # This is unsafe since every namespace is allowed to use the role identity
roleARN: arn:aws:iam::${AWS_MANAGED_ACCOUNT_ID}:role/controllers.cluster-api-provider-aws.sigs.k8s.io
sourceidentityRef:
sourceIdentityRef:
kind: AWSClusterControllerIdentity
name: default
---
Expand All @@ -208,7 +208,7 @@ kind: AWSClusterControllerIdentity
metadata:
name: default
spec:
allowedNamespaces:{}
allowedNamespaces: {}
EOL
```

Expand Down

0 comments on commit b6b66b1

Please sign in to comment.