From 0f2bec20fee00aced23450f8cdf973d7c9333f4f Mon Sep 17 00:00:00 2001 From: Simon Harrison Date: Thu, 13 Nov 2025 15:30:37 +0000 Subject: [PATCH] Make 'Repository' field omitempty in dependency.go Signed-off-by: Simon Harrison --- internal/chart/v3/dependency.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/chart/v3/dependency.go b/internal/chart/v3/dependency.go index 2d956b548..4db59f677 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