feat(helm): enable minio init, only if enabled or forceInit

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2023-10-04 15:52:01 +02:00
parent 5b9d63cb55
commit aa40945597
2 changed files with 5 additions and 1 deletions

View file

@ -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:

View file

@ -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