Skip to content

Commit

Permalink
Merge branch 'refs/heads/fundaments-changes'
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenvermeulen committed Jun 19, 2024
2 parents 4b56965 + 6b9b53e commit d2f826a
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 0 deletions.
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,38 @@ View the detailed installation instructions and configuration here:

- [Open Zaak](./charts/open-zaak/README.md)
- [Open Notificaties](./charts/open-notificaties/README.md)

## TLDR Example
### Installation
Add the Helm repository, update it, get example values files.
```bash
helm repo add fundaments-open-zaak https://fundaments.github.io/open-zaak-charts/
helm repo update
wget https://raw.githubusercontent.com/fundaments/open-zaak-charts/main/examples/openzaak_values.yaml
wget https://raw.githubusercontent.com/fundaments/open-zaak-charts/main/examples/notificaties_values.yaml
```
Update the values files with your own values.
You may need to add `ingress.className`.

Install the charts:
```bash
helm install --debug --wait --namespace open-notificaties --create-namespace --values notificaties_values.yaml open-notificaties fundaments-open-zaak/open-notificaties
helm install --debug --wait --namespace open-zaak --create-namespace --values openzaak_values.yaml open-zaak fundaments-open-zaak/open-zaak
```
Check if the configuration is correct:
- https://open-notificaties.example.com/view-config/
- https://open-zaak.example.com/view-config/

Check if you can login to the admin interface (username: `admin`, password from values files):
- https://open-zaak.example.com/admin/
- https://open-notificaties.example.com/admin/

### Uninstallation
```bash
helm uninstall --namespace open-zaak open-zaak
kubectl delete --namespace=open-zaak pvc -l app.kubernetes.io/instance=open-zaak
kubectl delete namespace open-zaak
helm uninstall --namespace open-notificaties open-notificaties
kubectl delete --namespace=open-notificaties pvc -l app.kubernetes.io/instance=open-notificaties
kubectl delete namespace open-notificaties
```
19 changes: 19 additions & 0 deletions examples/notificaties_values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# https://github.com/fundaments/open-zaak-charts/blob/main/charts/open-notificaties/values.yaml
# flower:
# enabled: false
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
- open-notificaties.example.com
tls:
- hosts:
- open-notificaties.example.com
secretName: open-notificaties-ingress-tls
settings:
allowedHosts: open-notificaties.example.com
envVars:
DJANGO_SUPERUSER_PASSWORD: appelmoes
OPENNOTIFICATIES_DOMAIN: open-notificaties.example.com
AUTORISATIES_API_ROOT: http://open-zaak.open-zaak.svc.cluster.local/autorisaties/api/v1/
16 changes: 16 additions & 0 deletions examples/openzaak_values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
- open-zaak.example.com
tls:
- hosts:
- open-zaak.example.com
secretName: open-zaak-ingress-tls
settings:
allowedHosts: open-zaak.example.com
envVars:
DJANGO_SUPERUSER_PASSWORD: appelmoes
OPENZAAK_DOMAIN: open-zaak.example.com
NOTIF_API_ROOT: http://open-notificaties.open-notificaties.svc.cluster.local/api/v1/

0 comments on commit d2f826a

Please sign in to comment.