diff --git a/charts/airbyte/templates/minio.yaml b/charts/airbyte/templates/minio.yaml index 55888b86ece..6c52bcee099 100644 --- a/charts/airbyte/templates/minio.yaml +++ b/charts/airbyte/templates/minio.yaml @@ -47,7 +47,7 @@ spec: # Mount the volume into the pod volumeMounts: - name: airbyte-minio-pv-claim # must match the volume name, above - mountPath: "/data" + mountPath: {{ if .Values.minio.storage.persistence }}"/storage"{{ else }}"/data"{{ end }} {{- with .Values.minio.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/airbyte/values.yaml b/charts/airbyte/values.yaml index 5d105838fd5..6e15ac6433a 100644 --- a/charts/airbyte/values.yaml +++ b/charts/airbyte/values.yaml @@ -1452,6 +1452,7 @@ minio: auth: rootUser: minio rootPassword: minio123 + ## storage.persistence retain minio log when airbyte restarts. (persistence: true) storage: volumeClaimValue: 500Mi