Keywordize the output of the yaml load

This commit is contained in:
2025-10-14 04:58:47 -05:00
parent 01e4526ed1
commit 40baf55bff

View File

@@ -31,7 +31,8 @@
(let [yaml-values (when load-yaml (let [yaml-values (when load-yaml
(js->clj (-> values-path (js->clj (-> values-path
(fs/readFileSync "utf8") (fs/readFileSync "utf8")
(yaml/load)))) (yaml/load))
:keywordize-keys true))
{:keys [secrets-data bind-secrets]} {:keys [secrets-data bind-secrets]}
(when vault-provider (when vault-provider
(let [vault-path (str "secret/" app-name) (let [vault-path (str "secret/" app-name)