diff --git a/docs/helm/helm_dependency.md b/docs/helm/helm_dependency.md index a3fc9d60d..bccc98594 100644 --- a/docs/helm/helm_dependency.md +++ b/docs/helm/helm_dependency.md @@ -46,7 +46,7 @@ For example, dependencies: - name: nginx version: "1.2.3" - repository: "file://../depedency_chart/nginx" + repository: "file://../dependency_chart/nginx" If the dependency chart is retrieved locally, it is not required to have the repository added to helm by "helm add repo". Version matching is also supported for this case. diff --git a/pkg/resolver/resolver_test.go b/pkg/resolver/resolver_test.go index b4b77794f..edc160a63 100644 --- a/pkg/resolver/resolver_test.go +++ b/pkg/resolver/resolver_test.go @@ -81,12 +81,12 @@ func TestResolve(t *testing.T) { name: "repo from valid local path", req: &chartutil.Requirements{ Dependencies: []*chartutil.Dependency{ - {Name: "signtest", Repository: "file://../testdata/testcharts/signtest", Version: "0.1.0"}, + {Name: "signtest", Repository: "file://../../cmd/helm/testdata/testcharts/signtest", Version: "0.1.0"}, }, }, expect: &chartutil.RequirementsLock{ Dependencies: []*chartutil.Dependency{ - {Name: "signtest", Repository: "file://../testdata/testcharts/signtest", Version: "0.1.0"}, + {Name: "signtest", Repository: "file://../../cmd/helm/testdata/testcharts/signtest", Version: "0.1.0"}, }, }, },