GitOps Workflows

Integrating Nirmata with Git

Follow the below steps to complete the prerequisite for deploying an application from Git:

  1. In Integration View (Settings -> Integration) select the option Manage for Git.
  2. Next, Add Git Credentials and fill in the details and credentials. Restricting access control policy can be achieved under Advanced section.

Application Deployment

To add an application to the catalog:

  1. Go to Catalog and click Add Application.
  2. Enter the name of the application.
  3. Choose git in Type, fill in the repository URL along with the branch and other details, and click on OK. Namespace and directory lists can be selected in Advanced.

image

The application model of a created application can be seen below. On clicking Sync Now (Catalog-> Application -> Setting Section) the Git connection gets synched with the application.

image

A Release can be created and published using the Release section. This can be achieved by selecting Click to create a release (Catalog–> Application–>Release Section) in the application. Fill in the details, choose to publish the release, select the channel it needs to be published and click Create.

image

Refer Run an Application to deploy an application to an environment.

Changes made to the application code in your git repository will be synced to the Catalog application and can be propagated to application instances running in Environments.