Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: azure and google connector configs #213

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions docs/operation/connector.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,42 @@ Walrus offers connectors on the following two levels:

![connector-create-cloud](/img/v0.5.0/operation/connector/op-conn-create-cloud-en.png)

#### Creating a Cloud Provider Connector for Azure

1. Create a service principal in either the [Azure portal](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredApps/RegisteredApps/Overview) or using the Azure CLI.

```shell
az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/20000000-0000-0000-0000-000000000000"
```

2. Click on `New Connector` in the connectors list and select `Cloud Provider`.

3. Choose Type `Azure`, and fill in the form with the following information:

- `Subscription ID`: The subscription ID of the Azure account.
- `Tenant ID`: The tenant ID of the Azure account.
- `Client ID`: The client ID of the service principal, which is the application ID.
- `Client Secret`: The client secret of the service principal.

![connector-create-azure](/img/v0.6.0/operation/connector/op-conn-create-azure-en.png)

#### Creating a Cloud Provider Connector for Google Cloud

1. Create a service account in the Google Cloud Console or choose an existing service account.

2. Download the JSON key file for the service account.

3. Click on `New Connector` in the connectors list and select `Cloud Provider`.

4. Choose Type `Google`, and fill in the form with the following information:

- `Project`: The project ID of the Google Cloud account.
- `Region`: The region of the Google Cloud account for the resources to be created in.
- `Zone`: The zone of the Google Cloud account for the resources to be created in. All zones are a part of a region.
- `Credentials`: The JSON key file for the service account.

![connector-create-gcp](/img/v0.6.0/operation/connector/op-conn-create-gcp-en.png)

### Creating a Version Control Connector

1. Click on `New Connector` in the connectors list and select `Version Control`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,38 @@ Walrus提供了以下两种层级的连接器:

![connector-create-cloud](/img/v0.5.0/operation/connector/op-conn-create-cloud-en.png)

#### 创建 Azure 云厂商连接器

1. 在 [Azure 门户](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredApps/RegisteredApps/Overview) 中或使用 Azure CLI 创建服务主体。

```shell
az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/20000000-0000-0000-0000-000000000000"
```

2. 在连接器列表点击`新建连接器`,选择`云厂商`。
3. 在类型中选择`Azure`,使用服务主体的配置填写表单:

- `Subscription ID`:Azure 订阅 ID。
- `Tenant ID`:Azure 租户 ID。
- `Client ID`:Azure 服务主体的客户端 ID。
- `Client Secret`:Azure 服务主体的客户端密钥。

![connector-create-azure](/img/v0.6.0/operation/connector/op-conn-create-azure.png)

#### 创建 Google 云厂商连接器

1. 在 Google Cloud Console 中创建服务账号或选择现有服务账号。
2. 下载服务账号的密钥文件。
3. 在连接器列表点击`新建连接器`,选择`云厂商`。
4. 在类型中选择`Google`,使用服务账号的配置填写表单:

- `Project`:Google Cloud 项目 ID。
- `Region`:Google Cloud 项目所在地区。
- `Zone`:Google Cloud 项目所在区域。所有区域都属于一个地区。
- `Credentials`:服务账号的 JSON 密钥文件。

![connector-create-gcp](/img/v0.6.0/operation/connector/op-conn-create-gcp.png)

### 创建版本控制连接器

1. 在连接器列表点击`新建连接器`,选择`版本控制`。
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.