Keywordize the output of the yaml load
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user