From 35a63f5ffede06dfb7a2c435f51865a1cc1e2b55 Mon Sep 17 00:00:00 2001 From: nicktrn <55853254+nicktrn@users.noreply.github.com> Date: Fri, 18 Jul 2025 19:53:33 +0100 Subject: [PATCH 1/3] correctly use db url from secret for electric --- hosting/k8s/helm/templates/electric.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosting/k8s/helm/templates/electric.yaml b/hosting/k8s/helm/templates/electric.yaml index 0142946568..ac2d7582f2 100644 --- a/hosting/k8s/helm/templates/electric.yaml +++ b/hosting/k8s/helm/templates/electric.yaml @@ -37,8 +37,16 @@ spec: containerPort: {{ .Values.electric.service.targetPort }} protocol: TCP env: + {{- if include "trigger-v4.postgres.useSecretUrl" . }} + - name: DATABASE_URL + valueFrom: + secretKeyRef: + name: {{ include "trigger-v4.postgres.external.secretName" . }} + key: {{ include "trigger-v4.postgres.external.databaseUrlKey" . }} + {{- else }} - name: DATABASE_URL value: {{ include "trigger-v4.postgres.connectionString" . | quote }} + {{- end }} - name: ELECTRIC_INSECURE value: {{ .Values.electric.config.insecure | quote }} - name: ELECTRIC_USAGE_REPORTING From a11ff36d2984248c8209bc92750aac54157f35b6 Mon Sep 17 00:00:00 2001 From: nicktrn <55853254+nicktrn@users.noreply.github.com> Date: Fri, 18 Jul 2025 19:55:31 +0100 Subject: [PATCH 2/3] bump app and chart version --- hosting/k8s/helm/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosting/k8s/helm/Chart.yaml b/hosting/k8s/helm/Chart.yaml index a0b80a62c0..0eb99f68f6 100644 --- a/hosting/k8s/helm/Chart.yaml +++ b/hosting/k8s/helm/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: trigger description: The official Trigger.dev Helm chart type: application -version: 4.0.0-beta.17 -appVersion: v4.0.0-v4-beta.22 +version: 4.0.0-beta.18 +appVersion: v4.0.0-v4-beta.23 home: https://trigger.dev sources: - https://github.com/triggerdotdev/trigger.dev From 9675add12d22117f7c5d4411c660aec5b3e97059 Mon Sep 17 00:00:00 2001 From: nicktrn <55853254+nicktrn@users.noreply.github.com> Date: Fri, 18 Jul 2025 19:58:09 +0100 Subject: [PATCH 3/3] bump electric version --- hosting/docker/webapp/docker-compose.yml | 2 +- hosting/k8s/helm/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosting/docker/webapp/docker-compose.yml b/hosting/docker/webapp/docker-compose.yml index c2f62de435..5b3968d11f 100644 --- a/hosting/docker/webapp/docker-compose.yml +++ b/hosting/docker/webapp/docker-compose.yml @@ -120,7 +120,7 @@ services: start_period: 10s electric: - image: electricsql/electric:${ELECTRIC_IMAGE_TAG:-1.0.13} + image: electricsql/electric:${ELECTRIC_IMAGE_TAG:-1.0.24} restart: ${RESTART_POLICY:-unless-stopped} logging: *logging-config depends_on: diff --git a/hosting/k8s/helm/values.yaml b/hosting/k8s/helm/values.yaml index d55fe4154b..5f8fdaf046 100644 --- a/hosting/k8s/helm/values.yaml +++ b/hosting/k8s/helm/values.yaml @@ -440,7 +440,7 @@ electric: image: registry: docker.io repository: electricsql/electric - tag: "1.0.13" + tag: "1.0.24" pullPolicy: IfNotPresent config: insecure: true