Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stable-5: thumbnails hardening #656

Merged
merged 1 commit into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions charts/ocis/docs/values-desc-table.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4068,6 +4068,12 @@ a| [subs=-attributes]
a| [subs=-attributes]
`""`
| Per-service priorityClassName configuration. Overrides the default setting from `priorityClassName` if set.
| services.thumbnails.quota.maxConcurrencyRequests
a| [subs=-attributes]
+int+
a| [subs=-attributes]
`0`
| Number of maximum concurrent thumbnail requests. Default is 0 which is unlimited.
| services.thumbnails.resources
a| [subs=-attributes]
+object+
Expand Down
3 changes: 3 additions & 0 deletions charts/ocis/docs/values.adoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1913,6 +1913,9 @@ services:
# -- THUMBNAILS service.
# @default -- see detailed service configuration options below
thumbnails:
quota:
# -- Number of maximum concurrent thumbnail requests. Default is 0 which is unlimited.
maxConcurrencyRequests: 0
# -- Persistence settings.
# @default -- see detailed persistence configuration options below
persistence:
Expand Down
3 changes: 3 additions & 0 deletions charts/ocis/templates/thumbnails/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ spec:
- name: THUMBNAILS_DATA_ENDPOINT
value: http://{{ .appName }}:9186/thumbnails/data

- name: THUMBNAILS_MAX_CONCURRENT_REQUESTS
value: {{ .Values.services.thumbnails.quota.maxConcurrencyRequests | quote }}

- name: THUMBNAILS_WEBDAVSOURCE_INSECURE
value: {{ .Values.insecure.ocisHttpApiInsecure | quote }}

Expand Down
3 changes: 3 additions & 0 deletions charts/ocis/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1912,6 +1912,9 @@ services:
# -- THUMBNAILS service.
# @default -- see detailed service configuration options below
thumbnails:
quota:
# -- Number of maximum concurrent thumbnail requests. Default is 0 which is unlimited.
maxConcurrencyRequests: 0
# -- Persistence settings.
# @default -- see detailed persistence configuration options below
persistence:
Expand Down