Move namespace before postgres

This commit is contained in:
bom 2024-03-22 15:08:10 +01:00
parent c05ecfa427
commit ac3f2a455d

View file

@ -24,13 +24,13 @@
(filter (filter
#(not (nil? %)) #(not (nil? %))
(cm/concat-vec (cm/concat-vec
(postgres/generate {:postgres-size :8gb (ns/generate (merge {:namespace "nextcloud"} config))
(postgres/generate {:postgres-size :8gb
:db-name "nextcloud" :db-name "nextcloud"
:pv-storage-size-gb 50 :pv-storage-size-gb 50
:pvc-storage-class-name default-storage-class :pvc-storage-class-name default-storage-class
:namespace "nextcloud"} :namespace "nextcloud"}
auth) auth)
(ns/generate (merge {:namespace "nextcloud"} config))
[(nextcloud/generate-secret auth) [(nextcloud/generate-secret auth)
(nextcloud/generate-pvc (merge nextcloud-default-storage-config config)) (nextcloud/generate-pvc (merge nextcloud-default-storage-config config))
(nextcloud/generate-deployment config) (nextcloud/generate-deployment config)