From 8df71a30be35ef84d586f68e6d1aad4f3f8166cc Mon Sep 17 00:00:00 2001 From: GigiaJ Date: Tue, 14 Oct 2025 05:00:08 -0500 Subject: [PATCH] Swap to our template design --- iac/src/main/infra/openbao.cljs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/iac/src/main/infra/openbao.cljs b/iac/src/main/infra/openbao.cljs index a615e15..43c4d1c 100644 --- a/iac/src/main/infra/openbao.cljs +++ b/iac/src/main/infra/openbao.cljs @@ -275,23 +275,23 @@ :exec-fn execute-fn :vault-load-yaml false :chart-opts {:fetchOpts {:repo "https://openbao.github.io/openbao-helm"} - :transformations (fn [props opts] + :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"}}})}}) + :opts opts})))] + :values {: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"}}}}})