swap to our more dynamic map passing
This commit is contained in:
@@ -5,9 +5,9 @@
|
|||||||
{:stack [:vault-secrets :helm-fn :chart :ingress]
|
{:stack [:vault-secrets :helm-fn :chart :ingress]
|
||||||
:app-namespace "nextcloud"
|
:app-namespace "nextcloud"
|
||||||
:app-name "nextcloud"
|
:app-name "nextcloud"
|
||||||
:chart-repo "https://nextcloud.github.io/helm/"
|
|
||||||
:image-port 8080
|
:image-port 8080
|
||||||
:vault-load-yaml true
|
:vault-load-yaml true
|
||||||
|
:chart-opts {:fetchOpts {:repo "https://nextcloud.github.io/helm/"}
|
||||||
:helm-values-fn (make-transformer
|
:helm-values-fn (make-transformer
|
||||||
(fn [{:keys [app-name secrets]}]
|
(fn [{:keys [app-name secrets]}]
|
||||||
(let [{:keys [host]} secrets]
|
(let [{:keys [host]} secrets]
|
||||||
@@ -18,4 +18,4 @@
|
|||||||
(if (some #{kind} ["StatefulSet" "PersistentVolumeClaim" "Ingress"])
|
(if (some #{kind} ["StatefulSet" "PersistentVolumeClaim" "Ingress"])
|
||||||
(update-in args [:resource :metadata :annotations]
|
(update-in args [:resource :metadata :annotations]
|
||||||
#(assoc (or % {}) "pulumi.com/skipAwait" "true"))
|
#(assoc (or % {}) "pulumi.com/skipAwait" "true"))
|
||||||
args)))})
|
args)))}})
|
||||||
Reference in New Issue
Block a user