diff --git a/sentry/Chart.yaml b/sentry/Chart.yaml index c299e0b8c..9637d91dc 100644 --- a/sentry/Chart.yaml +++ b/sentry/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: sentry description: A Helm chart for Kubernetes type: application -version: 15.0.1 +version: 15.0.2 appVersion: 22.6.0 dependencies: - name: memcached diff --git a/sentry/templates/cronjob-sentry-cleanup.yaml b/sentry/templates/cronjob-sentry-cleanup.yaml index 9d6de5008..4a42c9ff4 100644 --- a/sentry/templates/cronjob-sentry-cleanup.yaml +++ b/sentry/templates/cronjob-sentry-cleanup.yaml @@ -129,4 +129,7 @@ spec: {{- if .Values.sentry.cleanup.priorityClassName }} priorityClassName: "{{ .Values.sentry.cleanup.priorityClassName }}" {{- end }} + {{- if .Values.sentry.cleanup.serviceAccount }} + serviceAccountName: {{ .Values.sentry.cleanup.serviceAccount.name }} + {{- end }} {{- end }} diff --git a/sentry/templates/cronjob-snuba-cleanup-errors.yaml b/sentry/templates/cronjob-snuba-cleanup-errors.yaml index a6c6ee25f..aef3aaf6c 100644 --- a/sentry/templates/cronjob-snuba-cleanup-errors.yaml +++ b/sentry/templates/cronjob-snuba-cleanup-errors.yaml @@ -98,4 +98,7 @@ spec: {{- if .Values.snuba.cleanupErrors.priorityClassName }} priorityClassName: "{{ .Values.snuba.cleanupErrors.priorityClassName }}" {{- end }} + {{- if .Values.snuba.cleanupErrors.serviceAccount }} + serviceAccountName: {{ .Values.snuba.cleanupErrors.serviceAccount.name }} + {{- end }} {{- end }} diff --git a/sentry/templates/cronjob-snuba-cleanup-transactions.yaml b/sentry/templates/cronjob-snuba-cleanup-transactions.yaml index a33d0a7cc..1bb051bd7 100644 --- a/sentry/templates/cronjob-snuba-cleanup-transactions.yaml +++ b/sentry/templates/cronjob-snuba-cleanup-transactions.yaml @@ -98,4 +98,7 @@ spec: {{- if .Values.snuba.cleanupTransactions.priorityClassName }} priorityClassName: "{{ .Values.snuba.cleanupTransactions.priorityClassName }}" {{- end }} + {{- if .Values.snuba.cleanupTransactions.serviceAccount }} + serviceAccountName: {{ .Values.snuba.cleanupTransactions.serviceAccount.name }} + {{- end }} {{- end }} diff --git a/sentry/values.yaml b/sentry/values.yaml index 58fac2774..d926de677 100644 --- a/sentry/values.yaml +++ b/sentry/values.yaml @@ -222,6 +222,7 @@ sentry: days: 90 sidecars: [] volumes: [] + serviceAccount: {} snuba: api: @@ -408,6 +409,7 @@ snuba: schedule: "0 * * * *" sidecars: [] volumes: [] + serviceAccount: {} cleanupTransactions: activeDeadlineSeconds: 100 @@ -416,6 +418,7 @@ snuba: schedule: "0 * * * *" sidecars: [] volumes: [] + serviceAccount: {} hooks: enabled: true