Use Tanzu Mission Control to disable a package repository in your cluster.

When you add a repository to a cluster, the packages in the repository can be installed in that cluster using the Catalog page in the Tanzu Mission Control console. When a package repository is no longer needed for a cluster, you can use this procedure to disable it.

When you disable a package repository in a cluster, you can no longer install packages or update existing installations from the repository. The repository and its contents are removed from the cluster, but the name and URL for the repository remain in the cluster in case you want to enable it later.

Prerequisites

This procedure assumes that you have already added a package repository to a Kubernetes cluster that is managed (either attached or provisioned) by Tanzu Mission Control.

Before you start this procedure, log in to the Tanzu Mission Control console and make sure you have the appropriate permissions.
  • To disable a package repository in your cluster, you must be associated with the .admin role on that cluster.

Procedure

  1. In the Tanzu Mission Control console, navigate to the cluster detail page of the cluster to that contains the repository you want to disable.
  2. Click the Add-ons tab, and then click Repositories.
  3. Click the menu icon for the repository that you want to disable, and then choose Disable.
  4. In the confirmation dialog, click Disable.