Add a Continuous Deployment Allowlist
In KubeSphere 3.3.0, you can set an allowlist so that only specific code repositories and deployment locations can be used for continuous deployment.
Prerequisites
You have a workspace, a DevOps project and a user (
project-regular
) invited to the DevOps project with theoperator
role. If they are not ready yet, please refer to Create Workspaces, Projects, Users and Roles.You need to enable the KubeSphere DevOps system.
You need to import an code repository.
Procedures
Log in to the KubeSphere console as
project-regular
. In the navigation pane on the left, click DevOps Projects.On the DevOps Projects page, click the DevOps project you created.
In the navigation pane on the left, choose DevOps Project Settings > Basic Information.
In Continuous Deployment Allowlist on the right, click Enable Allowlist.
In the Edit Allowlist dialog box, choose a code repository and the cluster and project where the code deployment will be deployed, and then click OK. You can click Add to add multiple code repositories and deployment locations.