Skip to content

Commit

Permalink
add option to mount PVC in sentry cleanup worker
Browse files Browse the repository at this point in the history
  • Loading branch information
tungvuson authored and ehdieunguyen committed Aug 10, 2024
1 parent 2251119 commit 07bd12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentry/templates/cronjob-sentry-cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ spec:
configMap:
name: {{ template "sentry.fullname" . }}-sentry
- name: sentry-data
{{- if and (eq .Values.filestore.backend "filesystem") .Values.filestore.filesystem.persistence.enabled (.Values.filestore.filesystem.persistence.persistentWorkers) }}
{{- if and (eq .Values.filestore.backend "filesystem") .Values.filestore.filesystem.persistence.enabled (or .Values.filestore.filesystem.persistence.persistentWorkers .Values.sentry.cleanup.persistentVolume) }}
{{- if .Values.filestore.filesystem.persistence.existingClaim }}
persistentVolumeClaim:
claimName: {{ .Values.filestore.filesystem.persistence.existingClaim }}
Expand Down

0 comments on commit 07bd12e

Please sign in to comment.