Skip to content

Commit

Permalink
Merge pull request #10 from andyverberne/issue/#6A
Browse files Browse the repository at this point in the history
Fixes #6 -- Removes media volume from open notificaties
  • Loading branch information
joeribekker authored Jun 30, 2021
2 parents cf54e62 + d65433a commit af70657
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 34 deletions.
2 changes: 1 addition & 1 deletion charts/open-notificaties/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: open-notificaties
description: API voor het routeren van notificaties

type: application
version: 0.3.0
version: 0.3.1
appVersion: 1.1.0

dependencies:
Expand Down
3 changes: 0 additions & 3 deletions charts/open-notificaties/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ helm install open-notificaties open-zaak/open-notificaties \
| `ingress.annotations` | Additional annotations on the API ingress | `{}` |
| `ingress.hosts` | Ingress hosts | `"{open-notificaties.gemeente.nl}"` |
| `ingress.tls` | Ingress TLS settings | `"[]"` |
| `persistence.enabled` | Enable persistency for application media | `false` |
| `persistence.size` | The size of the application media persistent volume | `"1Gi"` |
| `persistence.existingClaim` | Use an existing claim for application media | `null` |
| `settings.allowedHosts` | A comma-separated list of hosts allowed by the application | `"open-notificaties.gemeente.nl"` |
| `settings.secretKey` | The secret key of the application | `"SOME-RANDOM-SECRET"` |
| `settings.database.host` | The hostname of PostgreSQL | `"open-notificaties-postgresql"` |
Expand Down
11 changes: 0 additions & 11 deletions charts/open-notificaties/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,6 @@ spec:
{{- toYaml .Values.readinessProbe | nindent 12 }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
- name: media
mountPath: /media
volumes:
- name: media
{{- if .Values.persistence.enabled }}
persistentVolumeClaim:
claimName: {{ if .Values.persistence.existingClaim }}{{ .Values.persistence.existingClaim }}{{- else }}{{ include "open-notificaties.fullname" . }}{{- end }}
{{- else }}
emptyDir: {}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
14 changes: 0 additions & 14 deletions charts/open-notificaties/templates/pvc.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions charts/open-notificaties/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@ tolerations: []

affinity: {}

persistence:
enabled: false
size: 1Gi
existingClaim: null

worker:
replicaCount: 1
resources: {}
Expand Down

0 comments on commit af70657

Please sign in to comment.