From b8c70b73ca320c18a02cfc683e80dfcf4b07abce Mon Sep 17 00:00:00 2001 From: Simon L Date: Mon, 6 Nov 2023 16:00:49 +0100 Subject: [PATCH] change defaults of NEXTCLOUD*STORAGE_SIZE Signed-off-by: Simon L --- nextcloud-aio-helm-chart/update-helm.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nextcloud-aio-helm-chart/update-helm.sh b/nextcloud-aio-helm-chart/update-helm.sh index 8d19fa16..8bfd9878 100755 --- a/nextcloud-aio-helm-chart/update-helm.sh +++ b/nextcloud-aio-helm-chart/update-helm.sh @@ -219,6 +219,8 @@ echo 'STORAGE_CLASS: # By setting this, you can adjust the storage class for variable in "${VOLUME_VARIABLE[@]}"; do echo "$variable: 1Gi # You can change the size of the $(echo "$variable" | sed 's|_STORAGE_SIZE||;s|_|-|g' | tr '[:upper:]' '[:lower:]') volume that default to 1Gi with this value" >> /tmp/sample.conf done +sed -i "s|NEXTCLOUD_STORAGE_SIZE: 1Gi|NEXTCLOUD_STORAGE_SIZE: 5Gi|" /tmp/sample.conf +sed -i "s|NEXTCLOUD_DATA_STORAGE_SIZE: 1Gi|NEXTCLOUD_DATA_STORAGE_SIZE: 5Gi|" /tmp/sample.conf mv /tmp/sample.conf ../helm-chart/values.yaml ENABLED_VARIABLES="$(grep -oP '^[A-Z_]+_ENABLED' ../helm-chart/values.yaml)"