From 907217c913ab2dcee206ab22c29f5f10605bdeac Mon Sep 17 00:00:00 2001 From: lostlevels Date: Tue, 26 May 2026 06:27:57 -0700 Subject: [PATCH 1/3] [BACK-3938] Add patient_deletions source connector. --- ...ient-deletions-source-kafka-connector.yaml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 charts/tidepool/charts/clinic/templates/5-patient-deletions-source-kafka-connector.yaml diff --git a/charts/tidepool/charts/clinic/templates/5-patient-deletions-source-kafka-connector.yaml b/charts/tidepool/charts/clinic/templates/5-patient-deletions-source-kafka-connector.yaml new file mode 100644 index 00000000..0c25d584 --- /dev/null +++ b/charts/tidepool/charts/clinic/templates/5-patient-deletions-source-kafka-connector.yaml @@ -0,0 +1,26 @@ +{{ if .Values.global.kafka.connect.enabled }} +apiVersion: kafka.strimzi.io/v1beta2 +kind: KafkaConnector +metadata: + labels: + app: patient-deletions-source + strimzi.io/cluster: {{ .Release.Namespace }}-{{ .Values.global.kafka.connect.clusterName }} + name: patient-deletions-source + namespace: {{ .Release.Namespace }} +spec: + class: com.mongodb.kafka.connect.MongoSourceConnector + config: + change.stream.full.document: updateLookup + collection: patient_deletions + connection.uri: {{ .Values.global.kafka.connect.mongoConnectionUri }} + copy.existing: false + database: clinic + key.converter: org.apache.kafka.connect.json.JsonConverter + key.converter.schemas.enable: false + topic.prefix: {{ .Release.Namespace }} + value.converter: org.apache.kafka.connect.json.JsonConverter + value.converter.schemas.enable: false + heartbeat.interval.ms: {{ .Values.global.kafka.connect.mongoHeartbeatIntervalMs }} + heartbeat.topic.name: {{ .Release.Namespace }}-{{ .Values.global.kafka.connect.clusterName }}-heartbeat + tasksMax: {{ .Values.global.kafka.connect.sourceTasksMax | int }} +{{- end }} From 870e5da0bb7dfb99ca08cd99aa04c9aa1f5a7056 Mon Sep 17 00:00:00 2001 From: lostlevels Date: Tue, 7 Jul 2026 14:11:49 -0700 Subject: [PATCH 2/3] Use data inter-service secret. --- .../charts/clinic-worker/templates/1-deployment.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/charts/tidepool/charts/clinic-worker/templates/1-deployment.yaml b/charts/tidepool/charts/clinic-worker/templates/1-deployment.yaml index 14f5e7b7..00c6d2d4 100644 --- a/charts/tidepool/charts/clinic-worker/templates/1-deployment.yaml +++ b/charts/tidepool/charts/clinic-worker/templates/1-deployment.yaml @@ -145,6 +145,11 @@ spec: optional: true - name: TIDEPOOL_EXPORT_CLIENT_ADDRESS value: "http://export:{{.Values.global.ports.export}}" + - name: TIDEPOOL_DATA_SERVICE_SECRET + valueFrom: + secretKeyRef: + name: data + key: ServiceAuth - name: EMAIL_REMINDERS_INTERVAL valueFrom: configMapKeyRef: From 298904697714e7d10b46c55cafdee444d9fa6324 Mon Sep 17 00:00:00 2001 From: lostlevels Date: Fri, 17 Jul 2026 11:34:20 -0700 Subject: [PATCH 3/3] Bump version. --- charts/tidepool/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/tidepool/Chart.yaml b/charts/tidepool/Chart.yaml index 5be89fc6..4730e5ab 100644 --- a/charts/tidepool/Chart.yaml +++ b/charts/tidepool/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: A Helm chart for Tidepool name: tidepool -version: 0.25.1 +version: 0.25.2 maintainers: - name: Todd Kazakov email: todd@tidepool.org