Skip to content

Commit

Permalink
Fix opennotificaties worker volume mounts
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoerdie committed Sep 17, 2024
1 parent da98eb1 commit cae885e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/opennotificaties/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: opennotificaties
description: API voor het routeren van notificaties

type: application
version: 1.4.1
version: 1.4.2
appVersion: 1.7.0

dependencies:
Expand Down
14 changes: 14 additions & 0 deletions charts/opennotificaties/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,13 @@ spec:
{{- toYaml .Values.worker.resources | nindent 12 }}
command:
- /celery_worker.sh
volumeMounts:
- name: media
mountPath: /app/media
subPath: {{ .Values.persistence.mediaMountSubpath | default "opennotificaties/media" }}
{{- if .Values.extraVolumeMounts }}
{{- include "opennotificaties.tplvalues.render" ( dict "value" .Values.extraVolumeMounts "context" $ ) | nindent 12 }}
{{- end }}
volumes:
- name: media
persistentVolumeClaim:
Expand Down Expand Up @@ -272,6 +279,13 @@ spec:
tcpSocket:
port: 5555
{{- toYaml .Values.flower.readinessProbe | nindent 12 }}
volumeMounts:
- name: media
mountPath: /app/media
subPath: {{ .Values.persistence.mediaMountSubpath | default "opennotificaties/media" }}
{{- if .Values.extraVolumeMounts }}
{{- include "opennotificaties.tplvalues.render" ( dict "value" .Values.extraVolumeMounts "context" $ ) | nindent 12 }}
{{- end }}
volumes:
- name: media
persistentVolumeClaim:
Expand Down

0 comments on commit cae885e

Please sign in to comment.