From 017ba3aac58908dced930fda4df78ab714bcca62 Mon Sep 17 00:00:00 2001 From: nicktrn <55853254+nicktrn@users.noreply.github.com> Date: Wed, 25 Jun 2025 13:00:25 +0100 Subject: [PATCH] external s3 config --- hosting/k8s/helm/templates/_helpers.tpl | 2 ++ hosting/k8s/helm/values.yaml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/hosting/k8s/helm/templates/_helpers.tpl b/hosting/k8s/helm/templates/_helpers.tpl index b51fd7404..26d3bd1bf 100644 --- a/hosting/k8s/helm/templates/_helpers.tpl +++ b/hosting/k8s/helm/templates/_helpers.tpl @@ -142,6 +142,8 @@ MinIO connection details {{- define "trigger-v4.minio.url" -}} {{- if .Values.minio.enabled -}} http://{{ include "trigger-v4.fullname" . }}-minio:{{ .Values.minio.service.ports.api }} +{{- else if .Values.minio.external -}} +{{ .Values.minio.externalConnection.url }} {{- else -}} "" {{- end -}} diff --git a/hosting/k8s/helm/values.yaml b/hosting/k8s/helm/values.yaml index 779182aa0..baa1ea0af 100644 --- a/hosting/k8s/helm/values.yaml +++ b/hosting/k8s/helm/values.yaml @@ -371,6 +371,7 @@ clickhouse: # MinIO configuration minio: enabled: true + external: false # Set to true to use external S3-compatible storage image: registry: docker.io repository: minio/minio @@ -398,6 +399,9 @@ minio: api: 9000 console: 9001 resources: {} + # External MinIO/S3 connection (when external: true) + externalConnection: + url: "" # e.g., "https://s3.amazonaws.com" or "https://your-minio.com:9000" # Extra environment variables for MinIO extraEnv: []