Skip to content

Commit

Permalink
Merge pull request #3694 from nextcloud/enh/noid/change-storage-size
Browse files Browse the repository at this point in the history
  • Loading branch information
szaimen authored Nov 6, 2023
2 parents 33a87ae + b8c70b7 commit c33e8be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nextcloud-aio-helm-chart/update-helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,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)"
Expand Down

0 comments on commit c33e8be

Please sign in to comment.