ReadValuesFile will parse a YAML file into a map of values.
(filename string)
| 111 | |
| 112 | // ReadValuesFile will parse a YAML file into a map of values. |
| 113 | func 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 |
searching dependent graphs…