Skip to content

Commit 3ba8354

Browse files
yxxherodominykas
authored andcommitted
fix oci issue
Signed-off-by: yxxhero <[email protected]>
1 parent 517ff93 commit 3ba8354

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

internal/resolver/resolver.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,13 @@ import (
2929

3030
"helm.sh/helm/v3/pkg/chart"
3131
"helm.sh/helm/v3/pkg/chart/loader"
32-
"helm.sh/helm/v3/pkg/gates"
3332
"helm.sh/helm/v3/pkg/gitutils"
3433
"helm.sh/helm/v3/pkg/helmpath"
3534
"helm.sh/helm/v3/pkg/provenance"
3635
"helm.sh/helm/v3/pkg/registry"
3736
"helm.sh/helm/v3/pkg/repo"
3837
)
3938

40-
const FeatureGateOCI = gates.Gate("HELM_EXPERIMENTAL_OCI")
41-
4239
var hasGitReference = gitutils.HasGitReference
4340

4441
// Resolver resolves dependencies from semantic version ranges to a particular version.

pkg/downloader/manager.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -344,11 +344,6 @@ func (m *Manager) downloadAll(deps []*chart.Dependency) error {
344344
version := ""
345345

346346
if registry.IsOCI(churl) {
347-
if !resolver.FeatureGateOCI.IsEnabled() {
348-
return errors.Wrapf(resolver.FeatureGateOCI.Error(),
349-
"the repository %s is an OCI registry", churl)
350-
}
351-
352347
churl, version, err = parseOCIRef(churl)
353348
if err != nil {
354349
return errors.Wrapf(err, "could not parse OCI reference")

0 commit comments

Comments
 (0)