Add basic values translation script, example 1.x defaults
Status | Pipeline | Created by | Stages | |
---|---|---|---|---|
Canceled 00:00:18
| Stage: .pre Stage: 🔥 smoke tests |
Download artifacts
No artifacts found |
UNCLASSIFIED - NO CUI
Currently supported Big Bang Version is 2.50
Provides a basic values translation script for the main key changes for package names. The approach taken is:
Other approaches considered:
yq
usage: yq
does not have a great way to change a key. Effectively you need to create a new key (set equal to the old one) then delete the new one. This has weird effects on order in the file, and combined with the way yq
strips out extra lines it makes for a messy script that doesn't really work.yq
/sed
approach: Initially I wanted more "smarts" around editing the specific key, rather than just a regex match of what I think is the key. yq
provides a way to get the line number for a key which seemed promising, but because of the way yq
strips blank lines this proved to not be effective either.sed
approach.Also adds an example 1.x default core package values file.
Status | Pipeline | Created by | Stages | |
---|---|---|---|---|
Canceled 00:00:18
| Stage: .pre Stage: 🔥 smoke tests |
Download artifacts
No artifacts found |
UNCLASSIFIED - NO CUI