Applications can be added as an add-on that are hosted in Git using Add-on functionality in Nirmata. Before that, Git needs to be integrated with Nrimata and then application can be defined in the default add-on catalog
Integrating Nirmata with Git
Follow the below steps to complete the prerequisite for deploying an application from Git
- In Integration View (Settings -> Integration) select the option Manage for Git
- Next, Add Git Credentials and fill in the details and credentials. restricting access control policy can be achieved under Advanced section
Defining Application in add-on catalog
Once Git is integrated with Nirmata, Below are the steps to define the application in the default-add-on catalog which can be deployed later, on any cluster using the add-on functionality.
- Navigate to the default-addon-catalog (CataLog -> default-addon-catalog) from the catalog list
- Click on the Add Application tab that is in the upper right corner. Provide a name to the application and choose type of the application source. 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 under Advanced section.
- You can now see the application view (Catlaog-> default-addon-catalog -> «application created»). On clicking Sync Now which is located in the upper right corner of the Git Connection section (Catlaog-> default-addon-catalog -> «application created» -> Settings) the Git connection gets synched with the application.
- A Release can be created and published using the Release section (Catlaog-> default-addon-catalog -> «application created» -> Releases). This can be achieved by selecting Click to create a release in the application view. Fill in the details, choose to publish the release, select the channel it needs to be published and click Create
- Navigate to the Application Model of the created application (Catalog -> default-addon-catalog -> «application created») and click on edit application using the vertical ellipsis to the upper right corner. Select the division group in the Add-on Category where the application best fits and click on Save
You can now deploy your application using the add-on functionality in any cluster or choose to add in cluster-type