From 8d862b08d89cb7db2e2e5498ee6562353fd9816c Mon Sep 17 00:00:00 2001 From: GigiaJ Date: Wed, 8 Oct 2025 23:56:53 -0500 Subject: [PATCH] swap to our more dynamic map passing --- iac/src/main/infra/openbao.cljs | 36 ++++++++++++++++----------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/iac/src/main/infra/openbao.cljs b/iac/src/main/infra/openbao.cljs index 79a59b7..a615e15 100644 --- a/iac/src/main/infra/openbao.cljs +++ b/iac/src/main/infra/openbao.cljs @@ -272,26 +272,26 @@ {:stack [:namespace :chart :execute] :app-namespace "vault" :app-name "openbao" - :helm-values-fn #(clj->js {:ui {:enabled true} - :server {:standalone {:enabled true} - :ha {:enabled false} - :dataStorage {:enabled true - :size "2Gi" - :storageClass "hcloud-volumes"} - - :readinessProbe {:enabled true - :path "/v1/sys/health"} - :nodeSelector {:location "de"}}}) :exec-fn execute-fn :vault-load-yaml false - :chart-repo "https://openbao.github.io/openbao-helm" - :transformations (fn [props opts] - (let [kind (:kind props)] - (if (= kind "StatefulSet") - {:props props - :opts (assoc opts :skipAwait true)} - {:props props - :opts opts})))}) + :chart-opts {:fetchOpts {:repo "https://openbao.github.io/openbao-helm"} + :transformations (fn [props opts] + (let [kind (:kind props)] + (if (= kind "StatefulSet") + {:props props + :opts (assoc opts :skipAwait true)} + {:props props + :opts opts}))) + :helm-values-fn #(clj->js {:ui {:enabled true} + :server {:standalone {:enabled true} + :ha {:enabled false} + :dataStorage {:enabled true + :size "2Gi" + :storageClass "hcloud-volumes"} + + :readinessProbe {:enabled true + :path "/v1/sys/health"} + :nodeSelector {:location "de"}}})}})