implement-c4k-and-provs #1

Merged
bom merged 17 commits from implement-c4k-and-provs into main 2024-10-18 09:22:48 +00:00
3 changed files with 3 additions and 4 deletions
Showing only changes of commit b8eb32283f - Show all commits

View file

@ -27,7 +27,7 @@
"
[devops ::d/devops
config ::domain/config]
(update-vals config #(run-gopass-command! devops %)))
(apply merge (for [[k v] config] {(name k) (run-gopass-command! devops v)})))
(defn-spec insert-gopass! nil?
"Inserts values from the resolved auth config into the c4k auth

View file

@ -8,7 +8,7 @@
:opt-un [::field]))
(s/def ::config (s/map-of keyword? ::gopass-entry))
(s/def ::resolved-config (s/map-of keyword? string?))
(s/def ::resolved-config (s/map-of string? string?))
(s/def ::gopass-command (s/coll-of string?))
(s/def ::gopass-commands (s/coll-of ::gopass-command))

View file

@ -19,7 +19,6 @@
(when debug
(println command))
(when-not dry-run
(->> command
(t/shell {:out :string})
(->> (t/shell command {:out :string})
:out
clojure.string/trim))))