Fix k8s-objects
This commit is contained in:
parent
234c920c63
commit
3ffd98786b
2 changed files with 22 additions and 19 deletions
|
@ -11,5 +11,5 @@
|
|||
nextcloud/config?
|
||||
nextcloud/auth?
|
||||
core/config-defaults
|
||||
core/generate
|
||||
core/k8s-objects
|
||||
cmd-args))
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
(let [nextcloud-default-storage-config {:pvc-storage-class-name default-storage-class
|
||||
:pv-storage-size-gb 200}]
|
||||
(map yaml/to-string
|
||||
(filter
|
||||
#(not (nil? %))
|
||||
(cm/concat-vec
|
||||
[(postgres/generate-config {:postgres-size :8gb :db-name "nextcloud"})
|
||||
(postgres/generate-secret auth)
|
||||
(postgres/generate-pvc {:pv-storage-size-gb 50
|
||||
|
@ -38,4 +41,4 @@
|
|||
(backup/generate-cron)
|
||||
(backup/generate-backup-restore-deployment config)])
|
||||
(when (:contains? config :mon-cfg)
|
||||
(mon/generate (:mon-cfg config) (:mon-auth auth))))))
|
||||
(mon/generate (:mon-cfg config) (:mon-auth auth))))))))
|
||||
|
|
Loading…
Reference in a new issue