removed optional storage-size

This commit is contained in:
leo 2021-08-10 14:41:03 +02:00
parent 655a84a5fc
commit 2f78c5d8ff
3 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View file

@ -14,6 +14,7 @@ pom.*
package-lock.json package-lock.json
node_modules/ node_modules/
public/js/ public/js/
logs/
# ide # ide
.calva .calva

View file

@ -49,7 +49,8 @@
(-> (->
(yaml/from-string (yaml/load-resource "nextcloud/persistent-volume.yaml")) (yaml/from-string (yaml/load-resource "nextcloud/persistent-volume.yaml"))
(assoc-in [:spec :hostPath :path] nextcloud-data-volume-path) (assoc-in [:spec :hostPath :path] nextcloud-data-volume-path)
(assoc-in [:spec :capacity :storage] (str storage-size "Gi"))))) ;(assoc-in [:spec :capacity :storage] (str storage-size "Gi"))
)))
(defn generate-pvc [] (defn generate-pvc []
(yaml/from-string (yaml/load-resource "nextcloud/pvc.yaml"))) (yaml/from-string (yaml/load-resource "nextcloud/pvc.yaml")))

View file

@ -1,5 +1,5 @@
{:fqdn "cloud-neu.prod.meissa-gmbh.de" {:fqdn "cloud-neu.prod.meissa-gmbh.de"
:nextcloud-data-volume-path "/var/nextcloud" :nextcloud-data-volume-path "/var/nextcloud"
:postgres-data-volume-path "/var/postgres" :postgres-data-volume-path "/var/postgres"
:storage-size 300 ;:storage-size 300
:restic-repository "restic-repository"} :restic-repository "restic-repository"}