Adds form to add container tag protection rules

What does this MR do and why?

Adds form to add container tag protection rules

The form is implemented within a Drawer component.

Note: Form submission will be implemented as a follow-up MR

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

After Drawer opened
Screenshot_2025-01-13_at_3.39.25_pm Screenshot_2025-01-13_at_3.39.34_pm

How to set up and validate locally

  1. Setup container registry.

  2. Enable feature flag

    Feature.enable(:container_registry_protected_tags)
  3. Visit Project > Settings > Packages and registries.

  4. Expand Container registry section

  5. Under Protected container tags section, confirm that a button Add protection rules exists

  6. Confirm that Clicking on the button opens a Drawer with a form to add protection rules.

Submit behaviour of the form will be added in a follow-up MR.

Related to #499871

Edited by Rahul Chanila

Merge request reports

Loading