We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 098eed2 commit 29ab5c4Copy full SHA for 29ab5c4
pkg/chart/loader/load.go
@@ -134,6 +134,9 @@ func LoadFiles(files []*BufferedFile) (*chart.Chart, error) {
134
if c.Metadata == nil {
135
c.Metadata = new(chart.Metadata)
136
}
137
+ if c.Metadata.APIVersion != chart.APIVersionV1 {
138
+ log.Printf("Warning: Dependency locking is handled in Chart.lock since apiVersion \"v2\". We recommend migrating to Chart.lock.")
139
+ }
140
if c.Metadata.APIVersion == chart.APIVersionV1 {
141
c.Files = append(c.Files, &chart.File{Name: f.Name, Data: f.Data})
142
0 commit comments