diff --git a/scripts/helmcharts/openreplay/templates/job.yaml b/scripts/helmcharts/openreplay/templates/job.yaml index bd9fe474a..9cde03315 100644 --- a/scripts/helmcharts/openreplay/templates/job.yaml +++ b/scripts/helmcharts/openreplay/templates/job.yaml @@ -134,7 +134,7 @@ spec: mountPath: /opt/openreplay - name: dbmigrationscript mountPath: /opt/migrations/ - {{- if contains "minio" .Values.global.s3.endpoint }} + {{- if or .Values.minio.enabled .Values.minio.forceInit }} - name: minio image: bitnami/minio:2020.10.9-debian-10-r6 env: diff --git a/scripts/helmcharts/openreplay/values.yaml b/scripts/helmcharts/openreplay/values.yaml index 5168ffabd..dc2ec1bcd 100644 --- a/scripts/helmcharts/openreplay/values.yaml +++ b/scripts/helmcharts/openreplay/values.yaml @@ -36,6 +36,10 @@ vault: &vault POSTGRES_STRING=postgres://{{.Data.username}}:{{.Data.password}}@postgresql.db.svc.cluster.local:5432/postgres {{- end -}} +minio: + # Force initialize minio, even if the instance is not provisioned by OR + forceInit: false + global: vault: *vault redis: *redis