diff --git a/internal/resolver/resolver.go b/internal/resolver/resolver.go index 12c96f50c84..788982af23f 100644 --- a/internal/resolver/resolver.go +++ b/internal/resolver/resolver.go @@ -29,7 +29,6 @@ import ( "helm.sh/helm/v3/pkg/chart" "helm.sh/helm/v3/pkg/chart/loader" - "helm.sh/helm/v3/pkg/gates" "helm.sh/helm/v3/pkg/gitutils" "helm.sh/helm/v3/pkg/helmpath" "helm.sh/helm/v3/pkg/provenance" @@ -37,8 +36,6 @@ import ( "helm.sh/helm/v3/pkg/repo" ) -const FeatureGateOCI = gates.Gate("HELM_EXPERIMENTAL_OCI") - var hasGitReference = gitutils.HasGitReference // Resolver resolves dependencies from semantic version ranges to a particular version. diff --git a/pkg/downloader/manager.go b/pkg/downloader/manager.go index bf7fafe7207..f246ea25a7b 100644 --- a/pkg/downloader/manager.go +++ b/pkg/downloader/manager.go @@ -344,11 +344,6 @@ func (m *Manager) downloadAll(deps []*chart.Dependency) error { version := "" if registry.IsOCI(churl) { - if !resolver.FeatureGateOCI.IsEnabled() { - return errors.Wrapf(resolver.FeatureGateOCI.Error(), - "the repository %s is an OCI registry", churl) - } - churl, version, err = parseOCIRef(churl) if err != nil { return errors.Wrapf(err, "could not parse OCI reference")