Skip to content

Commit

Permalink
Merge pull request #24 from open-zaak/feature/update-to-new-versions
Browse files Browse the repository at this point in the history
Update to ON 1.3.0 and OZ 1.6.0
  • Loading branch information
sergei-maertens authored Apr 11, 2022
2 parents ed4d61e + e3ef385 commit 704fcf3
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 6 deletions.
4 changes: 2 additions & 2 deletions charts/open-notificaties/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: open-notificaties
description: API voor het routeren van notificaties

type: application
version: 0.6.0
appVersion: "1.2.3"
version: 0.7.0
appVersion: "1.3.0"

dependencies:
- name: postgresql
Expand Down
4 changes: 3 additions & 1 deletion charts/open-notificaties/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ table below describes the supported versions
| Chart version | Open Notificaties version |
| ------------- | ------------------------- |
| < 0.5.0 | < 1.2.0 |
| 0.5.0 | 1.2.0 + |
| 0.5.0 | 1.2.x |
| 0.7.0 | 1.3.0 + |

## Configuration

Expand All @@ -60,6 +61,7 @@ table below describes the supported versions
| `settings.database.password` | The password of PostgreSQL | `"SUPER-SECRET"` |
| `settings.database.name` | The database name of PostgreSQL | `"open-notificaties"` |
| `settings.database.sslmode` | The SSL-mode used by the postgres client. See [docs](https://www.postgresql.org/docs/current/libpq-ssl.html) for more info | `"prefer"` |
| `settings.numProxies` | The number of reverse proxies between client and backend container. Set this to 1 if exposing the application through an ingress | `0` |
| `settings.cache.default` | The Redis cache for the default cache | `"open-notificaties-redis-master:6379/0"` |
| `settings.cache.axes` | The Redis cache for the axes cache | `"open-notificaties-redis-master:6379/0"` |
| `settings.email.host` | The hostname of the SMTP server | `"localhost"` |
Expand Down
1 change: 1 addition & 0 deletions charts/open-notificaties/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ data:
DB_USER: {{ .Values.settings.database.username | toString | quote }}
PGSSLMODE: {{ .Values.settings.database.sslmode | toString | quote }}
DEBUG: {{ if .Values.settings.debug }}"True"{{ else }}"False"{{ end }}
NUM_PROXIES: {{ .Values.settings.numProxies | toString | quote }}
EMAIL_HOST: {{ .Values.settings.email.host | toString | quote }}
{{- if .Values.settings.email.username }}
EMAIL_USER: {{ .Values.settings.email.username | toString | quote }}
Expand Down
2 changes: 2 additions & 0 deletions charts/open-notificaties/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ settings:
name: open-notificaties
sslmode: prefer

numProxies: 0 # use 1 if enabling ingress

email:
host: localhost
port: 25
Expand Down
4 changes: 2 additions & 2 deletions charts/open-zaak/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: open-zaak
description: Productiewaardige API's voor Zaakgericht Werken

type: application
version: 0.7.0
appVersion: "1.5.0"
version: 0.8.0
appVersion: "1.6.0"

dependencies:
- name: postgresql
Expand Down
4 changes: 3 additions & 1 deletion charts/open-zaak/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ table below describes the supported versions
| Chart version | Open Zaak version |
| ------------- | ----------------- |
| < 0.5.0 | < 1.5.0 |
| 0.5.0 | 1.5.0 + |
| 0.5.0 | 1.5.x |
| 0.7.0 | 1.6.0 + |

## Configuration

Expand Down Expand Up @@ -64,6 +65,7 @@ table below describes the supported versions
| `settings.database.password` | The password of PostgreSQL | `"SUPER-SECRET"` |
| `settings.database.name` | The database name of PostgreSQL | `"open-zaak"` |
| `settings.database.sslmode` | The SSL-mode used by the postgres client. See [docs](https://www.postgresql.org/docs/current/libpq-ssl.html) for more info | `"prefer"` |
| `settings.numProxies` | The number of reverse proxies between client and backend container. Set this to 2 if exposing the application through an ingress. This chart deploys one nginx reverse proxy already. | `1` |
| `settings.cache.default` | The Redis cache for the default cache | `"open-zaak-redis-master:6379/0"` |
| `settings.cache.axes` | The Redis cache for the axes cache | `"open-zaak-redis-master:6379/0"` |
| `settings.email.host` | The hostname of the SMTP server | `"localhost"` |
Expand Down
1 change: 1 addition & 0 deletions charts/open-zaak/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ data:
DB_USER: {{ .Values.settings.database.username | toString | quote }}
PGSSLMODE: {{ .Values.settings.database.sslmode | toString | quote }}
DEBUG: {{ if .Values.settings.debug }}"True"{{ else }}"False"{{ end }}
NUM_PROXIES: {{ .Values.settings.numProxies | toString | quote }}
EMAIL_HOST: {{ .Values.settings.email.host | toString | quote }}
{{- if .Values.settings.email.username }}
EMAIL_USER: {{ .Values.settings.email.username | toString | quote }}
Expand Down
2 changes: 2 additions & 0 deletions charts/open-zaak/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ settings:
name: open-zaak
sslmode: prefer

numProxies: 1 # use 2 if enabling ingress

email:
host: localhost
port: 25
Expand Down

0 comments on commit 704fcf3

Please sign in to comment.