diff --git a/internal/chart/v3/dependency.go b/internal/chart/v3/dependency.go index 50ee5552e..5159dff58 100644 --- a/internal/chart/v3/dependency.go +++ b/internal/chart/v3/dependency.go @@ -35,7 +35,7 @@ type Dependency struct { // // Appending `index.yaml` to this string should result in a URL that can be // used to fetch the repository index. - Repository string `json:"repository" yaml:"repository"` + Repository string `json:"repository,omitempty" yaml:"repository,omitempty"` // A yaml path that resolves to a boolean, used for enabling/disabling charts (e.g. subchart1.enabled ) Condition string `json:"condition,omitempty" yaml:"condition,omitempty"` // Tags can be used to group charts for enabling/disabling together