Skip to content

Commit 50c56e1

Browse files
committed
Bring OIP uWSGI settings in sync with v1.27.0
1 parent 7ae07ca commit 50c56e1

File tree

4 files changed

+20
-7
lines changed

4 files changed

+20
-7
lines changed

charts/openinwoner/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 1.7.0-beta.1 (2025-05-02)
4+
5+
- Bring uWSGI settings into sync with available options for the upcoming `v1.27` release
6+
of OIP.
7+
38
## 1.7.0-beta.0 (2025-10-01)
49

510
- [#148] Replace the worker liveness probe with the `celery inspect active` command. This should detect when a worker is down and should not interrupt long running tasks.

charts/openinwoner/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: openinwoner
33
description: Platform voor gemeenten en overheden om producten inzichtelijker en toegankelijker te maken voor inwoners.
44

55
type: application
6-
version: 1.7.0-beta.0
6+
version: 1.7.0-beta.1
77
appVersion: latest
88
icon: https://docs.openinwoner.nl/en/latest/_static/logo.png
99

charts/openinwoner/templates/configmap.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ data:
5656
{{- if .Values.settings.elasticapm.url }}
5757
ELASTIC_APM_SERVICE_NAME: {{ .Values.settings.elasticapm.serviceName | toString | quote }}
5858
{{- end }}
59-
{{- if .Values.settings.uwsgi.master }}
60-
UWSGI_MASTER: {{ if .Values.settings.uwsgi.master }}"1"{{ else }}"0"{{ end }}
61-
{{- end }}
6259
{{- if .Values.settings.uwsgi.threads }}
6360
UWSGI_THREADS: {{ .Values.settings.uwsgi.threads | toString | quote }}
6461
{{- end }}
@@ -72,9 +69,17 @@ data:
7269
UWSGI_HARAKIRI: {{ .Values.settings.uwsgi.harakiri | toString | quote }}
7370
{{- end }}
7471
{{- if .Values.settings.uwsgi.port }}
75-
UWSGI_PORT: {{ .Values.settings.uwsgi.port | toString | quote }}
72+
PORT: {{ .Values.settings.uwsgi.port | toString | quote }}
7673
{{- end }}
7774
{{- if .Values.settings.uwsgi.httpTimeout }}
7875
UWSGI_HTTP_TIMEOUT: {{ .Values.settings.uwsgi.httpTimeout | toString | quote }}
7976
{{- end }}
80-
77+
{{- if .Values.settings.uwsgi.postBuffering }}
78+
UWSGI_POST_BUFFERING: {{ .Values.settings.uwsgi.postBuffering | toString | quote }}
79+
{{- end }}
80+
{{- if .Values.settings.uwsgi.bufferSize }}
81+
UWSGI_BUFFER_SIZE: {{ .Values.settings.uwsgi.bufferSize | toString | quote }}
82+
{{- end }}
83+
{{- if .Values.settings.uwsgi.httpKeepalive }}
84+
UWSGI_HTTP_KEEPALIVE: {{ if .Values.settings.uwsgi.httpKeepalive }}"1"{{ else }}"0"{{ end }}
85+
{{- end }}

charts/openinwoner/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,13 +270,16 @@ settings:
270270
debug: false
271271

272272
uwsgi:
273-
master: false
274273
threads: ""
275274
processes: ""
276275
maxRequests: ""
277276
harakiri: ""
278277
port: ""
279278
httpTimeout: ""
279+
httpKeepalive: ""
280+
# In bytes:
281+
postBuffering: ""
282+
bufferSize: ""
280283

281284
# -- Runs a init container that will run /app/src/manage.py search_index --rebuild -f. You might want to enable this one time for new deployments if you want to prevent 500 errors when using the search function
282285
searchInexInitContainer: false

0 commit comments

Comments
 (0)