chore(helm): disable minio migration if s3 is enabled

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2022-07-28 14:58:08 +02:00
parent 772261fef4
commit 8cce90b8a7

View file

@ -103,6 +103,7 @@ spec:
mountPath: /opt/openreplay
- name: dbmigrationscript
mountPath: /opt/migrations/
{{- if eq .Values.global.s3.endpoint "http://minio.db.svc.cluster.local:9000" }}
- name: minio
image: bitnami/minio:2020.10.9-debian-10-r6
env:
@ -128,6 +129,7 @@ spec:
mountPath: /opt/openreplay
- name: dbmigrationscript
mountPath: /opt/migrations/
{{- end}}
{{- if .Values.global.enterpriseEditionLicense }}
# Enterprise migration
- name: clickhouse