MCPcopy
hub / github.com/helm/helm / ReadValuesFile

Function ReadValuesFile

pkg/chart/common/values.go:113–119  ·  view source on GitHub ↗

ReadValuesFile will parse a YAML file into a map of values.

(filename string)

Source from the content-addressed store, hash-verified

111
112// ReadValuesFile will parse a YAML file into a map of values.
113func ReadValuesFile(filename string) (Values, error) {
114 data, err := os.ReadFile(filename)
115 if err != nil {
116 return map[string]any{}, err
117 }
118 return ReadValues(data)
119}
120
121// ReleaseOptions represents the additional release options needed
122// for the composition of the final values struct

Calls 1

ReadValuesFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…