Skip to content

Commit 017ba3a

Browse files
committed
external s3 config
1 parent c2642ba commit 017ba3a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

hosting/k8s/helm/templates/_helpers.tpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ MinIO connection details
142142
{{- define "trigger-v4.minio.url" -}}
143143
{{- if .Values.minio.enabled -}}
144144
http://{{ include "trigger-v4.fullname" . }}-minio:{{ .Values.minio.service.ports.api }}
145+
{{- else if .Values.minio.external -}}
146+
{{ .Values.minio.externalConnection.url }}
145147
{{- else -}}
146148
""
147149
{{- end -}}

hosting/k8s/helm/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ clickhouse:
371371
# MinIO configuration
372372
minio:
373373
enabled: true
374+
external: false # Set to true to use external S3-compatible storage
374375
image:
375376
registry: docker.io
376377
repository: minio/minio
@@ -398,6 +399,9 @@ minio:
398399
api: 9000
399400
console: 9001
400401
resources: {}
402+
# External MinIO/S3 connection (when external: true)
403+
externalConnection:
404+
url: "" # e.g., "https://s3.amazonaws.com" or "https://your-minio.com:9000"
401405
# Extra environment variables for MinIO
402406
extraEnv:
403407
[]

0 commit comments

Comments
 (0)