From a4f8fa4e7c4155972bdc0ab8cff32a2f8d9c68d2 Mon Sep 17 00:00:00 2001 From: Vera Clemens Date: Thu, 18 Jul 2024 10:36:47 +0200 Subject: [PATCH] feat: increase Dataverse file upload limit, update postgres operator config --- k8s/cluster_config/postgres_operator/INSTALL.md | 2 +- .../postgres_operator/values_postgres_operator.yaml | 2 +- k8s/dataverse/Chart.yaml | 2 +- k8s/dataverse/persona/nfdi4health/init.sh | 4 ++++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/k8s/cluster_config/postgres_operator/INSTALL.md b/k8s/cluster_config/postgres_operator/INSTALL.md index d6c2a53..47e8dd7 100644 --- a/k8s/cluster_config/postgres_operator/INSTALL.md +++ b/k8s/cluster_config/postgres_operator/INSTALL.md @@ -5,7 +5,7 @@ helm repo add postgres-operator-charts https://opensource.zalando.com/postgres-o ``` ## install the postgres-operator ``` -helm upgrade postgres-operator postgres-operator-charts/postgres-operator -f ./values_postgres_operator.yaml --version=1.8.2 +helm upgrade postgres-operator postgres-operator-charts/postgres-operator -f ./values_postgres_operator.yaml --version=1.10.1 ``` # Documentation diff --git a/k8s/cluster_config/postgres_operator/values_postgres_operator.yaml b/k8s/cluster_config/postgres_operator/values_postgres_operator.yaml index 39ffc57..2000160 100644 --- a/k8s/cluster_config/postgres_operator/values_postgres_operator.yaml +++ b/k8s/cluster_config/postgres_operator/values_postgres_operator.yaml @@ -10,7 +10,7 @@ configLogicalBackup: # storage provider - either "s3" or "gcs" logical_backup_provider: "s3" # S3 endpoint url when not using AWS - logical_backup_s3_endpoint: "https://de-2.s3.psmanaged.com" + logical_backup_s3_endpoint: "https://s3.de-west-1.psmanaged.com" # S3 bucket to store backup results logical_backup_s3_bucket: "postgres-test" # S3 Access Key ID diff --git a/k8s/dataverse/Chart.yaml b/k8s/dataverse/Chart.yaml index 417d19d..3f5c41a 100644 --- a/k8s/dataverse/Chart.yaml +++ b/k8s/dataverse/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.4.2 +version: 0.5.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/k8s/dataverse/persona/nfdi4health/init.sh b/k8s/dataverse/persona/nfdi4health/init.sh index 88d8a14..7822a6a 100644 --- a/k8s/dataverse/persona/nfdi4health/init.sh +++ b/k8s/dataverse/persona/nfdi4health/init.sh @@ -35,6 +35,10 @@ echo "Disable tabular file ingest" curl -s -H "X-Dataverse-key:$API_TOKEN" -X PUT -d 0 "${DATAVERSE_URL}/api/admin/settings/:TabularIngestSizeLimit" echo +echo "Setting file upload limit to 5Gi" +curl -s -H "X-Dataverse-key:$API_TOKEN" -X PUT -d 5368709120 "${DATAVERSE_URL}/api/admin/settings/:MaxFileUploadSizeInBytes" +echo + echo "Upload licenses" #curl -X POST -H "Content-Type: application/json" -H "X-Dataverse-key:$DATAVERSE_API_KEY" $DATAVERSE_HOST/api/licenses --upload-file license-CC0-1.0.json # Find all licence files