Skip to content

Commit

Permalink
use a feature flag for care partner alerts mongo connectors
Browse files Browse the repository at this point in the history
As they're not in use right now, they tend to fall off of the op log
and cause needless alerts.

BACK-3365
  • Loading branch information
ewollesen committed Jan 16, 2025
1 parent ac0c6b1 commit f1c866a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{ if .Values.global.kafka.connect.enabled }}
{{ if .Values.kafka.connectors.carePartnerAlerts.enabled }}
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaConnector
metadata:
Expand All @@ -24,3 +25,4 @@ spec:
heartbeat.topic.name: {{ .Release.Namespace }}-{{ .Values.global.kafka.connect.clusterName }}-heartbeat
tasksMax: {{ .Values.global.kafka.connect.sourceTasksMax | int }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{ if .Values.global.kafka.connect.enabled }}
{{ if .Values.kafka.connectors.carePartnerAlerts.enabled }}
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaConnector
metadata:
Expand Down Expand Up @@ -34,3 +35,4 @@ spec:
heartbeat.topic.name: {{ .Release.Namespace }}-{{ .Values.global.kafka.connect.clusterName }}-heartbeat
tasksMax: {{ .Values.global.kafka.connect.sourceTasksMax | int }}
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/tidepool/charts/data/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ kafka:
configmapName: kafka
# -- name of the configmap containing the kafka broker and credentials to use
secretName: kafka
connectors:
carePartnerAlerts:
enabled: false
# -- node selector configuration
nodeSelector: {}
# -- tolerations
Expand Down

0 comments on commit f1c866a

Please sign in to comment.