Activate Helm Enforce Layout

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

Enforcement can be enabled either globally for all Helm repositories in Artifactory, or for specific Helm repositories. If you enable enforcement globally, the enforcement cannot be later disabled on any Helm repositories in Artifactory.

Enable Enforcement Globally

To enable global enforcement, in the Administration tab, click Artifactory Settings | Packages Settings.

Helm_enforce_layout_globally.png

In the Package Settings screen, select the check boxes by Prevent Duplicate Chart Paths and Enforce Chart Name and Version, then click Save.

Enable Enforcement on Specific Repositories

System Administrators can selectively activate enforcement on specific repositories. This allows tailored enforcement that fits the specific needs of different projects or teams.

To enable enforcement on a specific repository:

  1. In the Administration tab, click Repositories | Create a Repository | Local.

  2. In the Select Package Type window, select Helm.

  3. In the New Local Repository screen, click Use Legacy Helm.

    New_Local_Repo_Legacy_Helm.png
  4. Under Enforcement Settings,  select the check boxes by Prevent Duplicate Chart Paths and Enforce Chart Name and Version, then click Create Local Repository.

Note

When two or more local repositories under a virtual repository have the same chart name and version, the resolution will be according to the repositories' resolution order.