From 2f78c5d8ff8df7899a2f798f1a53340fda941bfd Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 10 Aug 2021 14:41:03 +0200 Subject: [PATCH] removed optional storage-size --- .gitignore | 1 + src/main/cljc/dda/c4k_nextcloud/nextcloud.cljc | 3 ++- valid-config.edn | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 667b168..b3860cc 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ pom.* package-lock.json node_modules/ public/js/ +logs/ # ide .calva diff --git a/src/main/cljc/dda/c4k_nextcloud/nextcloud.cljc b/src/main/cljc/dda/c4k_nextcloud/nextcloud.cljc index 5e8752c..ec2d13b 100644 --- a/src/main/cljc/dda/c4k_nextcloud/nextcloud.cljc +++ b/src/main/cljc/dda/c4k_nextcloud/nextcloud.cljc @@ -49,7 +49,8 @@ (-> (yaml/from-string (yaml/load-resource "nextcloud/persistent-volume.yaml")) (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 [] (yaml/from-string (yaml/load-resource "nextcloud/pvc.yaml"))) diff --git a/valid-config.edn b/valid-config.edn index 155b136..2279aa1 100644 --- a/valid-config.edn +++ b/valid-config.edn @@ -1,5 +1,5 @@ {:fqdn "cloud-neu.prod.meissa-gmbh.de" :nextcloud-data-volume-path "/var/nextcloud" :postgres-data-volume-path "/var/postgres" - :storage-size 300 + ;:storage-size 300 :restic-repository "restic-repository"} \ No newline at end of file