Edit an existing image registry policy that restricts the images that can be pulled for deployment in your managed namespaces.

Prerequisites

Log in to the Tanzu Mission Control console, go to the Policies page and view the image registry policies for the object, as described in View the Policy Assignments for an Object.

Make sure you have the appropriate permissions.
  • To edit the image registry policy for an object, you must be associated with the .admin role for that object.

Procedure

  1. On the Policies page, click the Image registry tab.
  2. Use the tree control to navigate to and select the object whose image registry policy you want to edit.
  3. Click the policy name to display the policy.
  4. Click the Actions drop-down, and then choose Edit.
  5. Edit the policy.
    After an image registry policy is created, you cannot change the name or the recipe for the policy. But you can edit the details of the policy. For more information about image registry policy details, see Create an Image Registry Policy.
  6. After you finish editing the policy, click Save.

Results

When you click Save, the updated policy is applied to the object and is displayed on the Policies page.