Protected packages: Protected helm charts

Problem to solve

You need a way to protect your helm charts. You already have protections in place for branches, tags, and environments. You need the same thing for your npm dependencies.

Proposal

As part of the epic &5574, add support for protecting helm charts (packages). By default, a protected package will do these things:

  • It prevents its creation, if not already created, from everybody except users with Maintainer permission.
  • It prevents anyone from deleting the helm chart.

Permissions

  • GitLab administrators are allowed to push to the protected branches.
  • The default branch protection level is set in the Admin Area.