diff --git a/examples/batch/argo-workflows-batch/helm-charts/seldon-batch-workflow/templates/workflow.yaml b/examples/batch/argo-workflows-batch/helm-charts/seldon-batch-workflow/templates/workflow.yaml index 65347925e9..b7e9835437 100644 --- a/examples/batch/argo-workflows-batch/helm-charts/seldon-batch-workflow/templates/workflow.yaml +++ b/examples/batch/argo-workflows-batch/helm-charts/seldon-batch-workflow/templates/workflow.yaml @@ -91,7 +91,7 @@ spec: - name: download-object-store-template script: - image: minio/mc:RELEASE.2020-04-17T08-55-48Z + image: minio/{{ .Values.minio.minioclient.image }} env: - name: MINIO_SERVER_ACCESS_KEY valueFrom: @@ -110,7 +110,7 @@ spec: mountPath: /assets command: [sh] source: | - mc config host add minio-local $MINIO_SERVER_HOST $MINIO_SERVER_ACCESS_KEY $MINIO_SERVER_ACCESS_KEY + mc config host add minio-local $MINIO_SERVER_HOST $MINIO_SERVER_ACCESS_KEY $MINIO_SERVER_ACCESS_SECRET --api S3v4 mc cp minio-local/{{ .Values.minio.inputDataPath }} /assets/input-data.txt - name: process-batch-inputs-template @@ -137,7 +137,7 @@ spec: - name: upload-object-store-template script: - image: minio/mc:RELEASE.2020-04-17T08-55-48Z + image: minio/{{ .Values.minio.minioclient.image }} volumeMounts: - name: "{{ .Values.pvc.name }}" mountPath: /assets @@ -156,6 +156,6 @@ spec: - name: MINIO_SERVER_HOST value: {{ .Values.minio.endpoint }} source: | - mc config host add minio-local $MINIO_SERVER_HOST $MINIO_SERVER_ACCESS_KEY $MINIO_SERVER_ACCESS_KEY + mc config host add minio-local $MINIO_SERVER_HOST $MINIO_SERVER_ACCESS_KEY $MINIO_SERVER_ACCESS_SECRET --api S3v4 mc cp /assets/output-data.txt minio-local/{{ .Values.minio.outputDataPath }} diff --git a/examples/batch/argo-workflows-batch/helm-charts/seldon-batch-workflow/values.yaml b/examples/batch/argo-workflows-batch/helm-charts/seldon-batch-workflow/values.yaml index aeed88452f..6963355f48 100644 --- a/examples/batch/argo-workflows-batch/helm-charts/seldon-batch-workflow/values.yaml +++ b/examples/batch/argo-workflows-batch/helm-charts/seldon-batch-workflow/values.yaml @@ -55,6 +55,9 @@ batchWorker: # Whether to enable benchmarking on the batch processor worker enableBenchmark: true minio: + # Minio Client (mc) Image name + minioclient: + image: mc:RELEASE.2020-10-03T02-54-56Z # The location of the minio endpoint endpoint: http://minio.minio-system.svc.cluster.local:9000 # This is the secret that should contain the values to access minio