-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for yaml-anchors in chart ChartSpec.ValuesYaml
yaml.v3 unmarshals to map[interface{}]interface{} if using yaml-anchors. Because helm converts yaml to json we have to unmarshal to map[string]interface{} instead of map[interface{}]interface{}. To achieve this we simply replace the yaml provider "gopkg.in/yaml.v3" with "sigs.k8s.io/yaml". For more details see go-yaml/yaml#139
- Loading branch information
Showing
3 changed files
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters