Skip to content

Commit

Permalink
Add --api S3v4 to mc client
Browse files Browse the repository at this point in the history
If we don't pass this --api S3v4 we are getting 

```The request signature we calculated does not match the signature you provided. Check your key and signing method``` 

error 

minio/minio#7936
  • Loading branch information
omerfsen authored Nov 6, 2020
1 parent 3b5c67f commit 24466a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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_KEY --api S3v4
mc cp minio-local/{{ .Values.minio.inputDataPath }} /assets/input-data.txt
- name: process-batch-inputs-template
Expand Down

0 comments on commit 24466a1

Please sign in to comment.