swap to our more dynamic map passing

This commit is contained in:
2025-10-08 23:56:53 -05:00
parent 434733d525
commit 8d862b08d8

View File

@@ -272,26 +272,26 @@
{:stack [:namespace :chart :execute] {:stack [:namespace :chart :execute]
:app-namespace "vault" :app-namespace "vault"
:app-name "openbao" :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 :exec-fn execute-fn
:vault-load-yaml false :vault-load-yaml false
:chart-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}
: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"}}})}})