From f20135e329bc70f5612f048a31e5ba7d19edf2a9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 27 Aug 2026 07:33:06 +0000 Subject: [PATCH 1/2] Initial plan From 69b9e98115ace8c4a95aa477714d308cbf4b58a6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 27 Aug 2026 07:34:27 +0000 Subject: [PATCH 2/2] Mount RT state volumes in CronJobs Co-authored-by: firefart <105281+firefart@users.noreply.github.com> --- helm/templates/jobs.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/helm/templates/jobs.yaml b/helm/templates/jobs.yaml index ddfe9da..3f7f3e4 100644 --- a/helm/templates/jobs.yaml +++ b/helm/templates/jobs.yaml @@ -66,6 +66,10 @@ spec: - {name: msmtp-config, mountPath: /etc/msmtprc, subPath: msmtp.conf, readOnly: true} - {name: generated-config, mountPath: /getmailrc, subPath: getmailrc, readOnly: true} - {name: getmail-dir, mountPath: /getmail} + - {name: rt-gpg, mountPath: /opt/rt/var/data/gpg, readOnly: false} + - {name: rt-smime, mountPath: /opt/rt/var/data/smime, readOnly: true} + - {name: rt-shredder, mountPath: /opt/rt/var/data/RT-Shredder, readOnly: false} + - {name: rt-cron, mountPath: /cron, readOnly: false} {{- with $.Values.rt.volumeMounts }} {{- toYaml . | nindent 16 }} {{- end }} @@ -84,6 +88,34 @@ spec: items: [{key: msmtp, path: msmtp.conf}] - {name: generated-config, emptyDir: {}} - {name: getmail-dir, emptyDir: {}} + - name: rt-gpg + {{- if $.Values.pvc.gpg.enabled }} + persistentVolumeClaim: + claimName: {{ include "request-tracker.fullname" $ }}-gpg + {{- else }} + emptyDir: {} + {{- end }} + - name: rt-smime + {{- if $.Values.pvc.smime.enabled }} + persistentVolumeClaim: + claimName: {{ include "request-tracker.fullname" $ }}-smime + {{- else }} + emptyDir: {} + {{- end }} + - name: rt-shredder + {{- if $.Values.pvc.shredder.enabled }} + persistentVolumeClaim: + claimName: {{ include "request-tracker.fullname" $ }}-shredder + {{- else }} + emptyDir: {} + {{- end }} + - name: rt-cron + {{- if $.Values.pvc.cron.enabled }} + persistentVolumeClaim: + claimName: {{ include "request-tracker.fullname" $ }}-cron + {{- else }} + emptyDir: {} + {{- end }} {{- with $.Values.rt.volumes }} {{- toYaml . | nindent 12 }} {{- end }}