Skip to content

release.yaml outputted from make validate should merge with existing contents #77

@aiyengar2

Description

@aiyengar2

Instead of starting with an empty ReleaseOptions{} here:

releaseYaml := options.ReleaseOptions{}

We should be loading the release.yaml from the existing file (if it exists), since all of our walk functions will not track existing items in the release.yaml that will be dumped anyways:

if releaseOptions.Contains(chart.Metadata.Name, chart.Metadata.Version) {
// Chart is tracked in release.yaml
return nil
}
// Chart exists in local and is not tracked by release.yaml
logrus.Infof("%s/%s is untracked", chart.Metadata.Name, chart.Metadata.Version)
response.UntrackedInRelease = response.UntrackedInRelease.Append(chart.Metadata.Name, chart.Metadata.Version)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions