chore(cli): template newly create variables
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
1767918a8c
commit
c179b4f9b9
1 changed files with 1 additions and 0 deletions
|
|
@ -382,6 +382,7 @@ function upgrade() {
|
|||
or_new_version=$(awk '/fromVersion/{print $2}' <"vars.yaml")
|
||||
yq '(load("old_vars.yaml") | .. | select(tag != "!!map" and tag != "!!seq")) as $i ireduce(.; setpath($i | path; $i))' vars.yaml >new_vars.yaml
|
||||
mv new_vars.yaml vars.yaml
|
||||
templater -i vars.yaml -o vars.yaml
|
||||
or_helm_upgrade
|
||||
|
||||
# Update the version
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue