mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
9 lines
236 B
Bash
Executable File
9 lines
236 B
Bash
Executable File
#!/bin/sh
|
|
|
|
yq e -o=json values.yaml | jq '[{
|
|
name: "helm-parameters",
|
|
title: "Helm Parameters",
|
|
collectionType: "map",
|
|
map: [leaf_paths as $path | {"key": $path | join("."), "value": getpath($path)|tostring}] | from_entries
|
|
}]'
|