feat(helm): enable minio init, only if enabled or forceInit
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
5b9d63cb55
commit
aa40945597
2 changed files with 5 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue