diff --git a/charts/data-sanitization-service/templates/job.yaml b/charts/data-sanitization-service/templates/job.yaml index 9048814..379569f 100644 --- a/charts/data-sanitization-service/templates/job.yaml +++ b/charts/data-sanitization-service/templates/job.yaml @@ -17,8 +17,8 @@ spec: - /bin/sh - -c - | - set -x; # enable printing the command before execution (in the sub-shell) - mc alias set minio {{ .Values.s3.endpoint }} $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY; + set -ex; # enable printing the command before execution (in the sub-shell) + mc alias set minio https://{{ .Values.s3.endpoint }} $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY; mc mb minio/sanitization/config securityContext: {{- toYaml .Values.securityContext | nindent 10 }}