Connectors
Walrus offers connectors on the following two levels:
- Project Connectors: Applied to a specific project
- Global Connectors: Can be applied to all projects
View Connector List
Global Connector List
- Click on
Operations
in the left-hand sidebar. - Click on the
Connectors
tab to view the connectors list.
Project Connector List
- Click on
Applications
in the left-hand sidebar and select the appropriate project. - Click on the
Connectors
tab to view the connectors list.
Viewing Connector Details
- Click on
Operations
in the left-hand sidebar. - Click on the
Connectors
tab to view the connectors list. - Find the connector you need to view and click on its name to enter the connector's detail page.
Create Connector
Note: Since v0.4.0, connector creation needs choose
Applicable Environment Type
, please check Environment Type for more details.
Create a Kubernetes Connector
- Click on
New Connector
in the connectors list and selectKubernetes
.
- Choose
Applicable Environment Type
. - Fill out the form and click
Save
.
Creating a Cloud Provider Connector
- Click on
New Connector
in the connectors list and selectCloud Provider
. - Choose
Applicable Environment Type
. - Fill out the form and click
Save
.
Creating a Version Control Connector
- Click on
New Connector
in the connectors list and selectVersion Control
. - Choose
Applicable Environment Type
. - Fill in the form. The provided access token should have the permission to operate the repositories.
- Click
Save
.
Creating a Custom Connector
- Click on
New Connector
in the connectors list and selectCustom
. - Choose
Applicable Environment Type
. - Fill in the type, which is the type of third-party platform Terraform Provider, for example: aws, alicloud, etc.
- Add properties. For example, if the provider is Artifactory, you need to fill in
url
andaccess_token
.
provider "artifactory" {
url = "${var.artifactory_url}"
access_token = "${var.artifactory_access_token}"
}
Deleting a Connector
- Click on
Operations
in the left-hand sidebar. - Click on the
Connectors
tab to view the connectors list. - Find the connector you need to delete.
- Ensure that no environment depends on this connector before selecting the connector you want to delete, then click the
Delete
button. - Click the
Confirm
button to complete the deletion.
Usage
- Once the connector is successfully created.
- Add the corresponding connectors in the
Projects
->Environment
details. - In the
Resources
of environment details, a new resource can use the connector.
Note:
- Only administrators/platform engineers have the permission to create global connectors.
- The scope of project connectors is restricted to the current project. They can only be added to environments created by the current project and cannot be used by other projects.
- The scope of global connectors applied to all projects. They can be added to any project environment. If you need to restrict the scope, please use project connectors.