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

[#162] Add uwsgi vars OIP #163

Merged
merged 3 commits into from
Jan 13, 2025
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
2 changes: 1 addition & 1 deletion charts/openinwoner/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: openinwoner
description: Platform voor gemeenten en overheden om producten inzichtelijker en toegankelijker te maken voor inwoners.

type: application
version: 1.6.0-beta.3
version: 1.6.1-beta.0
appVersion: latest
icon: https://docs.openinwoner.nl/en/latest/_static/logo.png

Expand Down
4 changes: 3 additions & 1 deletion charts/openinwoner/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# openinwoner

![Version: 1.6.0-beta.1](https://img.shields.io/badge/Version-1.6.0--beta.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
![Version: 1.6.1-beta.0](https://img.shields.io/badge/Version-1.6.1--beta.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)

Platform voor gemeenten en overheden om producten inzichtelijker en toegankelijker te maken voor inwoners.

Expand Down Expand Up @@ -179,8 +179,10 @@ Platform voor gemeenten en overheden om producten inzichtelijker en toegankelijk
| settings.smsgateway.apikey | string | `""` | |
| settings.smsgateway.backend | string | `""` | For example "open_inwoner.accounts.gateways.MessageBird" |
| settings.uwsgi.harakiri | string | `""` | |
| settings.uwsgi.httpTimeout | string | `""` | |
| settings.uwsgi.master | bool | `false` | |
| settings.uwsgi.maxRequests | string | `""` | |
| settings.uwsgi.port | string | `""` | |
| settings.uwsgi.processes | string | `""` | |
| settings.uwsgi.threads | string | `""` | |
| tags.elasticsearch | bool | `true` | |
Expand Down
7 changes: 7 additions & 0 deletions charts/openinwoner/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,10 @@ data:
{{- if .Values.settings.uwsgi.harakiri }}
UWSGI_HARAKIRI: {{ .Values.settings.uwsgi.harakiri | toString | quote }}
{{- end }}
{{- if .Values.settings.uwsgi.port }}
UWSGI_PORT: {{ .Values.settings.uwsgi.port | toString | quote }}
{{- end }}
{{- if .Values.settings.uwsgi.httpTimeout }}
UWSGI_HTTP_TIMEOUT: {{ .Values.settings.uwsgi.httpTimeout | toString | quote }}
{{- end }}

2 changes: 2 additions & 0 deletions charts/openinwoner/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ settings:
processes: ""
maxRequests: ""
harakiri: ""
port: ""
httpTimeout: ""

# -- 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
searchInexInitContainer: false
Expand Down
Loading