Skip to content

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

  1. Log in to the Megaport ONE Portal.
  2. 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.

App Repository

To filter the repository display

  • Select a repository from the drop-down menu.

To search for a chart

  • Enter a search term.

Adding a repository

To add an external repository

  1. Select Add a repository from the Options menu.

    Add External Repository

  2. Enter a name for the repository as it will appear in Megaport ONE.

  3. Enter your GitHub/GitLab repository URL.

  4. Click Confirm.

To add a managed repository

  1. Select Add a repository from the Options menu.

    Add Managed Repository

  2. Enter a name for the repository as it will appear in Megaport ONE.

  3. 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

  1. Select Edit a repository from the Options menu.

    Edit Repository

  2. Select the repository to edit.
    The drop-down list includes only the repositories that you or one of your clients own.

  3. Make your changes.

  4. Click Save.

To delete a repository

  1. On the Repositories page, choose Delete a repository from the Options menu.

  2. Select the repository.

  3. 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

  1. Choose Compute > Repositories.
  2. Select Upload a chart from the Options menu or select the repository and click Upload a Chart.
  3. Select a managed repository.
  4. Click Choose File and select the .tgz file to upload.
  5. 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

  1. Choose Compute > Repositories.
  2. Select a chart.
  3. 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

  1. Choose Compute > Repositories.
  2. Select a chart.
  3. Select Delete chart from the Options menu. The system removes the chart from the application repository.

Last update: 2023-05-23