Application Repositories
This topic explains how to discover, deploy, and manage cloud-native applications in the Megaport ONE application repositories. The repositories offer reliable and secure application delivery.
Repository types
The types of repositories are:
-
External – Links to an external Helm chartHelm is an application package manager that describes the structure of an application in a packaging format called charts. A Helm chart contains everything needed to run an application: related YAML configuration files, dependencies, and libraries. repository location, such as GitLab. Megaport ONE retrieves the Helm chart from the location.
-
Managed – Hosts the Helm charts in Megaport ONE. Adding a managed repository creates a empty repository ready to serve Helm charts. You upload files to the repository in the .tgz file format. This repository type keeps your chart repository private.
Note
When using a hosted, managed repository, the Helm chart builder is available to package applications. For details, see Packaging an Application in a Helm Chart.
You must be assigned a Company Admin or Technical Admin user role to add or edit a repository.
Exploring repositories
You can add to, browse, and interact with both types of repositories.
To explore the repositories
- Log in to the Megaport ONE Portal.
-
Choose Compute > Repositories.
Applications are pulled from a Git or hosted repository and populated into the Megaport ONE application repository. The Repositories page shows all deployed applications in a repository.
The Repository page lists the deployed applications through Helm charts. Each repository is labeled as External or Managed.
To filter the repository display
- Select a repository from the drop-down list.
To search for a chart
- Enter a search term.
Adding a repository
To add an external repository
-
Select Add a repository from the Options menu.
-
Enter a name for the repository as it will appear in Megaport ONE.
-
Enter your GitHub/GitLab repository URL.
-
Click Confirm.
To add a managed repository
-
Select Add a repository from the Options menu.
-
Enter a name for the repository as it will appear in Megaport ONE.
-
Click Confirm.
Now that you have an empty managed repository, you can upload charts to it. For details, see Uploading a Helm chart.
To edit a repository
-
Select Edit a repository from the Options menu.
-
Select the repository to edit.
The drop-down list includes only the repositories that you or one of your clients own. -
Make your changes.
-
Click Save.
To delete a repository
-
On the Repositories page, choose Delete a repository from the Options menu.
-
Select the repository.
-
Type DELETE in all caps and click Delete to confirm.
Managing charts within a repository
Helm chart management is available for managed repositories hosted by Megaport ONE.
Uploading a Helm chart
You can upload a chart to a managed repository. Charts must be packaged in the .tgz file format and versioned correctly.
To upload a chart
- Choose Compute > Repositories.
- Select Upload a chart from the Options menu or select the repository and click Upload a Chart.
- Select a managed repository.
- Click Choose File and select the .tgz file to upload.
- Click Confirm.
The system validates the integrity of the file to make sure no corruption has occurred that could prevent you from retrieving the content. The uploaded chart appears in the repository.
Once the application is in a managed repository, it acts the same as an application in an external repository.
Downloading a Helm chart
You can download a chart from a managed repository.
To download a Helm chart
- Choose Compute > Repositories.
- Select a chart.
- Select Download chart from the Options menu. The system downloads the chart in the .tgz file format.
Deleting a Helm chart
You can delete a chart from a managed repository.
To delete a chart
- Choose Compute > Repositories.
- Select a chart.
- Select Delete chart from the Options menu. The system removes the chart from the application repository.