Update to modern config style
This commit is contained in:
@@ -2,11 +2,11 @@
|
|||||||
(:require [configs :refer [cfg]]))
|
(:require [configs :refer [cfg]]))
|
||||||
|
|
||||||
(def config
|
(def config
|
||||||
{:stack [:secret :chart]
|
{:stack [:k8s:secret :k8s:chart]
|
||||||
:app-namespace "kube-system"
|
:app-namespace "kube-system"
|
||||||
:no-namespace true
|
:no-namespace true
|
||||||
:app-name "wasabi-csi"
|
:app-name "wasabi-csi"
|
||||||
:chart-opts {:chart "csi-s3"
|
:k8s:chart-opts {:chart "csi-s3"
|
||||||
:fetchOpts {:repo "https://yandex-cloud.github.io/k8s-csi-s3/charts"}
|
:fetchOpts {:repo "https://yandex-cloud.github.io/k8s-csi-s3/charts"}
|
||||||
:values {:controller {:enabled false
|
:values {:controller {:enabled false
|
||||||
:existingSecret {:name "wasabi-csi-secrets"}
|
:existingSecret {:name "wasabi-csi-secrets"}
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
:secretAccessKey "something"
|
:secretAccessKey "something"
|
||||||
;;:bucket "pulumi-harbor"
|
;;:bucket "pulumi-harbor"
|
||||||
}}
|
}}
|
||||||
:secret-opts {:stringData {:accessKeyID (-> cfg :wasabiId)
|
:k8s:secret-opts {:stringData {:accessKeyID (-> cfg :wasabiId)
|
||||||
:secretAccessKey (-> cfg :wasabiKey)
|
:secretAccessKey (-> cfg :wasabiKey)
|
||||||
:endpoint "http://wasabi-proxy.wasabi-proxy.svc.cluster.local"}}
|
:endpoint "http://wasabi-proxy.wasabi-proxy.svc.cluster.local"}}
|
||||||
:vault-load-yaml false})
|
:vault-load-yaml false})
|
||||||
Reference in New Issue
Block a user