Skip to content

Commit

Permalink
Ignore if bucket/directory already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewrossi committed Jul 19, 2024
1 parent 1469d36 commit c9971b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/spark-history-server/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: spark-history-server
description: A Helm chart for Spark History Server in Kubernetes
version: 1.0.2
version: 1.0.3
appVersion: "1.0.0"
2 changes: 1 addition & 1 deletion charts/spark-history-server/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
- |
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/{{ .Values.s3.bucket }}
mc mb -p minio/{{ .Values.s3.bucket }}
securityContext:
{{- toYaml .Values.securityContext | nindent 10 }}
{{- with .Values.volumeMounts }}
Expand Down

0 comments on commit c9971b7

Please sign in to comment.