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: []