Swap to our template design

This commit is contained in:
2025-10-14 05:00:08 -05:00
parent b375df2309
commit 8df71a30be

View File

@@ -275,14 +275,14 @@
:exec-fn execute-fn :exec-fn execute-fn
:vault-load-yaml false :vault-load-yaml false
:chart-opts {:fetchOpts {:repo "https://openbao.github.io/openbao-helm"} :chart-opts {:fetchOpts {:repo "https://openbao.github.io/openbao-helm"}
:transformations (fn [props opts] :transformations [(fn [props opts]
(let [kind (:kind props)] (let [kind (:kind props)]
(if (= kind "StatefulSet") (if (= kind "StatefulSet")
{:props props {:props props
:opts (assoc opts :skipAwait true)} :opts (assoc opts :skipAwait true)}
{:props props {:props props
:opts opts}))) :opts opts})))]
:helm-values-fn #(clj->js {:ui {:enabled true} :values {:ui {:enabled true}
:server {:standalone {:enabled true} :server {:standalone {:enabled true}
:ha {:enabled false} :ha {:enabled false}
:dataStorage {:enabled true :dataStorage {:enabled true
@@ -291,7 +291,7 @@
:readinessProbe {:enabled true :readinessProbe {:enabled true
:path "/v1/sys/health"} :path "/v1/sys/health"}
:nodeSelector {:location "de"}}})}}) :nodeSelector {:location "de"}}}}})