diff --git a/charts/stable/nextcloud/Chart.yaml b/charts/stable/nextcloud/Chart.yaml index 209ef426a7c..958e6440d2c 100644 --- a/charts/stable/nextcloud/Chart.yaml +++ b/charts/stable/nextcloud/Chart.yaml @@ -29,7 +29,7 @@ sources: - https://github.com/nextcloud/docker - https://github.com/nextcloud/helm type: application -version: 21.0.14 +version: 21.0.15 annotations: truecharts.org/catagories: | - cloud diff --git a/charts/stable/nextcloud/questions.yaml b/charts/stable/nextcloud/questions.yaml index 98efd8f9cda..f4e81c94ef0 100644 --- a/charts/stable/nextcloud/questions.yaml +++ b/charts/stable/nextcloud/questions.yaml @@ -176,6 +176,13 @@ questions: type: int required: true default: 1024 + - variable: max_allowed_resolution + label: Max Allowed Resolution + schema: + type: int + show_if: [["imaginary", "=", true]] + required: true + default: 18.0 - variable: max_file_size_image label: Max File Size Image schema: diff --git a/charts/stable/nextcloud/values.yaml b/charts/stable/nextcloud/values.yaml index 920e56c227c..07a7422ce97 100644 --- a/charts/stable/nextcloud/values.yaml +++ b/charts/stable/nextcloud/values.yaml @@ -56,6 +56,8 @@ nextcloud: max_y: 2048 max_memory: 1024 max_file_size_image: 50 + # Setting for Imaginary + max_allowed_resolution: 18.0 jpeg_quality: 60 square_sizes: 32 256 width_sizes: 256 384 @@ -222,6 +224,8 @@ workload: - "{{ .Values.service.imaginary.ports.imaginary.port }}" - -concurrency - "10" + - -max-allowed-resolution + - "{{ .Values.nextcloud.previews.max_allowed_resolution }}" - -enable-url-source - -return-size probes: