diff --git a/charts/sentry/templates/snuba/deployment-snuba-subscription-consumer-events.yaml b/charts/sentry/templates/snuba/deployment-snuba-subscription-consumer-events.yaml index b85783f8a..f36de662f 100644 --- a/charts/sentry/templates/snuba/deployment-snuba-subscription-consumer-events.yaml +++ b/charts/sentry/templates/snuba/deployment-snuba-subscription-consumer-events.yaml @@ -72,7 +72,10 @@ spec: command: - "snuba" - "subscriptions-scheduler-executor" - - "--auto-offset-reset={{ .Values.snuba.subscriptionConsumerEvents.autoOffsetReset }}" + {{- if .Values.snuba.subscriptionConsumerEvents.autoOffsetReset }} + - "--auto-offset-reset" + - "{{ .Values.snuba.subscriptionConsumerEvents.autoOffsetReset }}" + {{- end }} - "--dataset=events" - "--entity=events" {{- if .Values.snuba.subscriptionConsumerEvents.noStrictOffsetReset }} diff --git a/charts/sentry/templates/snuba/deployment-snuba-subscription-consumer-metrics.yaml b/charts/sentry/templates/snuba/deployment-snuba-subscription-consumer-metrics.yaml index f722a220e..450a0b315 100644 --- a/charts/sentry/templates/snuba/deployment-snuba-subscription-consumer-metrics.yaml +++ b/charts/sentry/templates/snuba/deployment-snuba-subscription-consumer-metrics.yaml @@ -72,7 +72,10 @@ spec: command: - "snuba" - "subscriptions-scheduler-executor" - - "--auto-offset-reset={{ .Values.snuba.subscriptionConsumerMetrics.autoOffsetReset }}" + {{- if .Values.snuba.subscriptionConsumerMetrics.autoOffsetReset }} + - "--auto-offset-reset" + - "{{ .Values.snuba.subscriptionConsumerMetrics.autoOffsetReset }}" + {{- end }} - "--dataset=metrics" - "--entity=metrics_sets" - "--entity=metrics_counters" diff --git a/charts/sentry/templates/snuba/deployment-snuba-subscription-consumer-transactions.yaml b/charts/sentry/templates/snuba/deployment-snuba-subscription-consumer-transactions.yaml index 53942e9a4..1bce5163f 100644 --- a/charts/sentry/templates/snuba/deployment-snuba-subscription-consumer-transactions.yaml +++ b/charts/sentry/templates/snuba/deployment-snuba-subscription-consumer-transactions.yaml @@ -72,7 +72,10 @@ spec: command: - "snuba" - "subscriptions-scheduler-executor" - - "--auto-offset-reset={{ .Values.snuba.subscriptionConsumerTransactions.autoOffsetReset }}" + {{- if .Values.snuba.subscriptionConsumerTransactions.autoOffsetReset }} + - "--auto-offset-reset" + - "{{ .Values.snuba.subscriptionConsumerTransactions.autoOffsetReset }}" + {{- end }} - "--dataset=transactions" - "--entity=transactions" {{- if .Values.snuba.subscriptionConsumerTransactions.noStrictOffsetReset }}