Skip to content

Commit

Permalink
Update workflow.yaml
Browse files Browse the repository at this point in the history
When using https based minio endpoint even if the certificate mismatches --insecure will work fine. --insecure means do not verify SSL cert.
  • Loading branch information
omerfsen committed Dec 4, 2020
1 parent 3c13b9b commit 4a6ea1a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ spec:
mountPath: /assets
command: [sh]
source: |
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
mc --insecure config host add minio-local $MINIO_SERVER_HOST $MINIO_SERVER_ACCESS_KEY $MINIO_SERVER_ACCESS_SECRET --api S3v4
mc --insecure cp minio-local/{{ .Values.minio.inputDataPath }} /assets/input-data.txt
- name: process-batch-inputs-template
metadata:
Expand Down Expand Up @@ -171,6 +171,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_SECRET --api S3v4
mc cp /assets/output-data.txt minio-local/{{ .Values.minio.outputDataPath }}
mc --insecure config host add minio-local $MINIO_SERVER_HOST $MINIO_SERVER_ACCESS_KEY $MINIO_SERVER_ACCESS_SECRET --api S3v4
mc --insecure cp /assets/output-data.txt minio-local/{{ .Values.minio.outputDataPath }}

0 comments on commit 4a6ea1a

Please sign in to comment.