The SOFAStack cluster network plugin, Cloud Controller Manager (CCM), requires authorization to access cloud resources to provide services such as load balancing and unified ingress traffic management. During the precheck for creating a cluster, the system checks if the AliyunSofaCafeCCMRole role is available to the current user. If the role is not found, follow the steps below to grant the required permissions.
Procedure
Go to the AliyunSofaCafeCCMRole role management page.
On the Trust Policy tab, click Edit Trust Policy.
In the Statement section, add the following content.
{ "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "RAM": [ "acs:ram::user_account_ID:root" ] } },NoteThe
user_account_IDcan be found in the ARN of the AliyunSofaCafeCCMRole role. For example, for the roleacs:ram::1688168816881688:role/aliyunsofacafeccmrole, replaceuser_account_IDwith1688168816881688.When finished, click Save Trust Policy.
The following figure shows a modified trust policy. The added content is highlighted in red.
