Keptn v1 reached EOL December 22, 2023. For more information see https://bit.ly/keptn

Automatic Git Provisioning

Description

Keptn provides an extension point that can be used to automatically provision a Git repository. When a project is created, Keptn performs a call to the service that adheres to a specific HTTP REST interface. The swagger documentation for this API can be found here.

Keptn calls the service that implements such interface passing the project name and the namespace in which Keptn is currently running. The service is expected to answer with the URL, username, and token to access the repository. Keptn uses this information to configure the upstream repository for the project. Similarly, when a project is deleted, Keptn calls the service implementing such an API. This can be used to deprovision the repository and perform clean up actions.

This feature is enabled via the Helm value control-plane.features.automaticProvisioningURL. This value must contain the base URL of the service that implements the interface.


Resources

Swagger Documentation