title | keywords | description | linkTitle | weight |
---|---|---|---|---|
Add a Continuous Deployment Allowlist |
Kubernetes, GitOps, KubeSphere, CI/CD, Allowlist |
Describe how to add a continuous deployment allowlist on KubeSphere. |
Add a Continuous Deployment Allowlist |
11243 |
In KubeSphere 3.4, you can set an allowlist so that only specific code repositories and deployment locations can be used for continuous deployment.
-
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.
-
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.