From 96b935d719aafcdb0c637aa3b4c3d7cb348fcc92 Mon Sep 17 00:00:00 2001 From: "yahia.berchi" Date: Thu, 30 May 2024 10:26:38 +0200 Subject: [PATCH] Feat: Add missing sidecar and global parameter for deployments after update to version 24.5.0 --- sentry/Chart.yaml | 2 +- .../deployment-snuba-group-attributes-consumer.yaml | 6 ++++++ .../deployment-snuba-outcomes-billing-consumer.yaml | 6 ++++++ sentry/templates/deployment-snuba-spans-consumer.yaml | 6 ++++++ 4 files changed, 19 insertions(+), 1 deletion(-) diff --git a/sentry/Chart.yaml b/sentry/Chart.yaml index 62fa65cf0..3eee45484 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: 23.1.0 +version: 23.1.1 appVersion: 24.5.0 dependencies: - name: memcached diff --git a/sentry/templates/deployment-snuba-group-attributes-consumer.yaml b/sentry/templates/deployment-snuba-group-attributes-consumer.yaml index d221567d0..378743b78 100644 --- a/sentry/templates/deployment-snuba-group-attributes-consumer.yaml +++ b/sentry/templates/deployment-snuba-group-attributes-consumer.yaml @@ -149,6 +149,12 @@ spec: {{- if .Values.snuba.groupAttributesConsumer.containerSecurityContext }} securityContext: {{ toYaml .Values.snuba.groupAttributesConsumer.containerSecurityContext | indent 12 }} +{{- end }} +{{- if .Values.snuba.groupAttributesConsumer.sidecars }} +{{ toYaml .Values.snuba.groupAttributesConsumer.sidecars | indent 6 }} +{{- end }} +{{- if .Values.global.sidecars }} +{{ toYaml .Values.global.sidecars | indent 6 }} {{- end }} {{- if .Values.serviceAccount.enabled }} serviceAccountName: {{ .Values.serviceAccount.name }}-snuba diff --git a/sentry/templates/deployment-snuba-outcomes-billing-consumer.yaml b/sentry/templates/deployment-snuba-outcomes-billing-consumer.yaml index e95de543d..07d994f9b 100644 --- a/sentry/templates/deployment-snuba-outcomes-billing-consumer.yaml +++ b/sentry/templates/deployment-snuba-outcomes-billing-consumer.yaml @@ -151,6 +151,12 @@ spec: {{- if .Values.snuba.outcomesBillingConsumer.containerSecurityContext }} securityContext: {{ toYaml .Values.snuba.outcomesBillingConsumer.containerSecurityContext | indent 12 }} +{{- end }} +{{- if .Values.snuba.outcomesBillingConsumer.sidecars }} +{{ toYaml .Values.snuba.outcomesBillingConsumer.sidecars | indent 6 }} +{{- end }} +{{- if .Values.global.sidecars }} +{{ toYaml .Values.global.sidecars | indent 6 }} {{- end }} {{- if .Values.serviceAccount.enabled }} serviceAccountName: {{ .Values.serviceAccount.name }}-snuba diff --git a/sentry/templates/deployment-snuba-spans-consumer.yaml b/sentry/templates/deployment-snuba-spans-consumer.yaml index e8e71dbbe..cdc2e49cf 100644 --- a/sentry/templates/deployment-snuba-spans-consumer.yaml +++ b/sentry/templates/deployment-snuba-spans-consumer.yaml @@ -149,6 +149,12 @@ spec: {{- if .Values.snuba.spansConsumer.containerSecurityContext }} securityContext: {{ toYaml .Values.snuba.spansConsumer.containerSecurityContext | indent 12 }} +{{- end }} +{{- if .Values.snuba.spansConsumer.sidecars }} +{{ toYaml .Values.snuba.spansConsumer.sidecars | indent 6 }} +{{- end }} +{{- if .Values.global.sidecars }} +{{ toYaml .Values.global.sidecars | indent 6 }} {{- end }} {{- if .Values.serviceAccount.enabled }} serviceAccountName: {{ .Values.serviceAccount.name }}-snuba