This functionality prevents the deployment of charts with the same name and version to different paths within the same repository, by ensuring that only a single instance of a chart is indexed. This maintains the integrity and accessibility of Helm charts, ensuring that users can easily identify and resolve the desired version without confusion.
Example
When deploying a chart named chart-1.0.0.tgz where there is already chart-1.0.0.tgz in the repository under a different path, Artifactory will reject the upload with a 403 response code and proper message.
This action is prevented due to the Enforce Layout Policy, a package with the same name and version chart-1.0.0 already exists in the repository.