From a148a57d7480e23adc912fe8700914792bea9807 Mon Sep 17 00:00:00 2001 From: Theo Mathieu Date: Tue, 9 Apr 2024 08:13:37 +0200 Subject: [PATCH] feat: kafka fix db check --- sentry/Chart.yaml | 2 +- sentry/templates/hooks/sentry-db-check.job.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sentry/Chart.yaml b/sentry/Chart.yaml index 4a87379ae..8dfdf8355 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: 22.0.1 +version: 22.0.2 appVersion: 24.2.0 dependencies: - name: memcached diff --git a/sentry/templates/hooks/sentry-db-check.job.yaml b/sentry/templates/hooks/sentry-db-check.job.yaml index eb2fc1920..aa47f15d8 100644 --- a/sentry/templates/hooks/sentry-db-check.job.yaml +++ b/sentry/templates/hooks/sentry-db-check.job.yaml @@ -112,7 +112,7 @@ spec: while [ $KAFKA_STATUS -eq 0 ]; do KAFKA_STATUS=1 {{- if .Values.kafka.enabled }} - KAFKA_REPLICAS={{ .Values.kafka.replicaCount }} + KAFKA_REPLICAS={{ .Values.kafka.controller.replicaCount | default 3 }} {{- if .Values.kafka.zookeeper.enabled }} echo "Kafka Zookeeper is enabled, checking if Zookeeper is up" ZOOKEEPER_STATUS=0