Skip to content

Commit

Permalink
Merge pull request #186 from maykinmedia/feature/stable-release-openi…
Browse files Browse the repository at this point in the history
…nwoner

🔖 Stable release for Open Inwoner
  • Loading branch information
alextreme authored Feb 12, 2025
2 parents 2fcabd9 + c49108a commit 37e1c2c
Show file tree
Hide file tree
Showing 6 changed files with 128 additions and 8 deletions.
10 changes: 8 additions & 2 deletions charts/openinwoner/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# Changelog

## 1.7.0-beta.1 (2025-05-02)
## 1.7.0 (2025-02-11)

Stable release with support of [django-setup-configuration](https://github.com/maykinmedia/django-setup-configuration).

- Fixed the configuration-secrets.yaml template to render only if no existing secret is present in the cluster (needed for example if using sealed secrets).

## 1.7.0-beta.1 (2025-02-05)

- Bring uWSGI settings into sync with available options for the upcoming `v1.27` release
of OIP.

## 1.7.0-beta.0 (2025-10-01)
## 1.7.0-beta.0 (2025-01-10)

- [#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.
- [#119] Update the syntax of the worker liveness probe. The worker probes now can be enabled/disabled with:
Expand Down
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.7.0-beta.1
version: 1.7.0
appVersion: 1.27.0
icon: https://docs.openinwoner.nl/en/latest/_static/logo.png

Expand Down
7 changes: 5 additions & 2 deletions charts/openinwoner/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# openinwoner

![Version: 1.7.0-beta.0](https://img.shields.io/badge/Version-1.7.0--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)
![Version: 1.7.0](https://img.shields.io/badge/Version-1.7.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.27.0](https://img.shields.io/badge/AppVersion-1.27.0-informational?style=flat-square)

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

Expand Down Expand Up @@ -54,6 +54,7 @@ Platform voor gemeenten en overheden om producten inzichtelijker en toegankelijk
| elasticsearch.master.resources.limits | object | `{}` | |
| elasticsearch.master.resources.requests.cpu | string | `"25m"` | |
| elasticsearch.master.resources.requests.memory | string | `"256Mi"` | |
| existingConfigurationSecrets | string | `nil` | |
| existingSecret | string | `nil` | |
| extraDeploy | list | `[]` | Extra objects to deploy (value evaluated as a template) |
| extraEnvVars | list | `[]` | Array with extra environment variables to add |
Expand Down Expand Up @@ -178,11 +179,13 @@ Platform voor gemeenten en overheden om producten inzichtelijker en toegankelijk
| settings.sentry.dsn | string | `""` | |
| settings.smsgateway.apikey | string | `""` | |
| settings.smsgateway.backend | string | `""` | For example "open_inwoner.accounts.gateways.MessageBird" |
| settings.uwsgi.bufferSize | string | `""` | |
| settings.uwsgi.harakiri | string | `""` | |
| settings.uwsgi.httpKeepalive | string | `""` | |
| settings.uwsgi.httpTimeout | string | `""` | |
| settings.uwsgi.master | bool | `false` | |
| settings.uwsgi.maxRequests | string | `""` | |
| settings.uwsgi.port | string | `""` | |
| settings.uwsgi.postBuffering | string | `""` | |
| settings.uwsgi.processes | string | `""` | |
| settings.uwsgi.threads | string | `""` | |
| tags.elasticsearch | bool | `true` | |
Expand Down
4 changes: 2 additions & 2 deletions charts/openinwoner/templates/configuration-secrets.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{{- if and .Values.global.configuration.enabled .Values.configuration.enabled}}
{{- if and (not .Values.existingConfigurationSecrets) .Values.global.configuration.enabled .Values.configuration.enabled}}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "openinwoner.fullname" . }}-config-secrets
name: {{ .Values.configurationSecretsName | default (printf "%s-config-secrets" (include "openinwoner.fullname" .)) }}
labels:
{{- include "openinwoner.labels" . | nindent 4 }}
stringData:
Expand Down
2 changes: 1 addition & 1 deletion charts/openinwoner/templates/job-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
- secretRef:
name: {{ .Values.existingSecret | default (include "openinwoner.fullname" .) }}
- secretRef:
name: {{ include "openinwoner.fullname" . }}-config-secrets
name: {{ if .Values.existingConfigurationSecrets }}{{ .Values.existingConfigurationSecrets }}{{ else }}{{ .Values.configurationSecretsName | default (printf "%s-config-secrets" (include "openinwoner.fullname" .)) }}{{ end }}
- configMapRef:
name: {{ include "openinwoner.fullname" . }}
env:
Expand Down
111 changes: 111 additions & 0 deletions charts/openinwoner/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,116 @@ configuration:
# memory: 128Mi
secrets: {}
data: ""
# e.g.
# data: |-
# oidc_db_config_enable: True
# oidc_db_config_admin_auth:
# items:
# - identifier: admin-oidc
# enabled: True
# oidc_rp_client_id: openinwoner.example.nl
# oidc_rp_client_secret: ${keycloak_client_secret}
# oidc_rp_scopes_list:
# - openid
# - email
# - profile
# - roles
# oidc_rp_sign_algo: RS256
# endpoint_config:
# oidc_op_discovery_endpoint: https://keycloak.example.nl/realms/example/
# username_claim:
# - sub
# groups_claim:
# - roles
# claim_mapping:
# first_name:
# - given_name
# last_name:
# - family_name
# sync_groups: true
# sync_groups_glob_pattern: "*"
# default_groups: []
# make_users_staff: true
# superuser_group_names:
# - Superuser
# oidc_use_nonce: true
# oidc_nonce_size: 32
# oidc_state_size: 32
# userinfo_claims_source: id_token
# zgw_consumers_config_enable: True
# zgw_consumers:
# services:
# - identifier: zaken-test
# label: Open Zaak - Zaken API
# api_root: https://openzaak.example.nl/zaken/api/v1/
# api_type: zrc
# auth_type: zgw
# client_id: openinwoner
# secret: ${openzaak_openinwoner_secret}
# - identifier: documenten-test
# label: Open Zaak - Documenten API
# api_root: https://openzaak.example.nl/documenten/api/v1/
# api_type: drc
# auth_type: zgw
# client_id: openinwoner
# secret: ${openzaak_openinwoner_secret}
# - identifier: catalogi-test
# label: Open Zaak - Catalogi API
# api_root: https://openzaak.example.nl/catalogi/api/v1/
# api_type: ztc
# auth_type: zgw
# client_id: openinwoner
# secret: ${openzaak_openinwoner_secret}
# - identifier: besluiten-test
# label: Open Zaak - Besluiten API
# api_root: https://openzaak.example.nl/besluiten/api/v1/
# api_type: brc
# auth_type: zgw
# client_id: openinwoner
# secret: ${openzaak_openinwoner_secret}
# - identifier: selectielijst
# label: Open Zaak (public) - Selectielijst API
# api_root: https://selectielijst.openzaak.nl/api/v1/
# api_type: orc
# auth_type: no_auth
# - identifier: klanten-test
# label: Open klanten API
# api_root: https://openklant.example.nl/klanten/api/v1/
# api_type: kc
# auth_type: zgw
# client_id: openinwoner
# secret: ${openklant_openinwoner_token}
# openzaak_config_enable: true
# openzaak_config:
# zaak_max_confidentiality: openbaar
# document_max_confidentiality: vertrouwelijk
# max_upload_size: 50
# skip_notification_statustype_informeren: false
# reformat_esuite_zaak_identificatie: true
# derive_zaak_titel_from: zaaktype_omschrijving
# order_statuses_by_date_set: false
# title_text: title text from setup configuration
# enable_categories_filtering_with_zaken: true
# action_required_deadline_days: 1874
# zaken_filter_enabled: 'true'
# allowed_file_extensions:
# - .pdf
# - .txt
# api_groups:
# - zaken_api_identifier: zaken-test
# documenten_api_identifier: documenten-test
# catalogi_api_identifier: catalogi-test
# fetch_eherkenning_zaken_with_rsin: true
# openklant_config_enable: false
# # OpenKlant2
# openklant2_config_enable: true
# openklant2_config:
# service_identifier: klanten-test
# mijn_vragen_kanaal: formulier
# mijn_vragen_organisatie_naam: De Gemeente
# mijn_vragen_actor: e412c6f6-bc31-4fd4-b883-0fb5e88d3f5b
# interne_taak_gevraagde_handeling: Vraag beantwoorden
# interne_taak_toelichting: Vraag via OIP, graag beantwoorden

tags:
redis: true
Expand Down Expand Up @@ -160,6 +270,7 @@ persistence:

# Existing Secret must be defined for AzureVaultSecret to work
existingSecret: null
existingConfigurationSecrets: null

# This will create an AzureVaultSecret object in k8s, only Multi Key Value Secret are supported by this chart
# ref: https://akv2k8s.io/tutorials/sync/4-multi-key-value-secret/ https://learn.microsoft.com/en-us/azure/key-vault/secrets/multiline-secrets
Expand Down

0 comments on commit 37e1c2c

Please sign in to comment.