Skip to content

Commit

Permalink
Merge pull request #163 from maykinmedia/feature/162-add-uwsgi-vars-oip
Browse files Browse the repository at this point in the history
[#162] Add uwsgi vars OIP
  • Loading branch information
alextreme authored Jan 13, 2025
2 parents da8cdd4 + 12889ba commit 4751fe0
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
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

0 comments on commit 4751fe0

Please sign in to comment.