mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/spark-history-server]Fix pvc mountpath (#17349)
* Fix PVC mount path Signed-off-by: Viktor Bogdanov <vvbogdanov87@gmail.com> Signed-off-by: vvbogdanov87 <vvbogdanov87@gmail.com> * Bump chart version Signed-off-by: Viktor Bogdanov <vvbogdanov87@gmail.com> Signed-off-by: vvbogdanov87 <vvbogdanov87@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
ed612b55a5
commit
cd6a58aa60
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: spark-history-server
|
||||
version: 1.1.0
|
||||
version: 1.1.1
|
||||
appVersion: 2.4.0
|
||||
description: A Helm chart for Spark History Server
|
||||
home: https://spark.apache.org
|
||||
|
||||
@@ -45,7 +45,7 @@ spec:
|
||||
- >
|
||||
if [ "$enablePVC" == "true" ]; then
|
||||
export SPARK_HISTORY_OPTS="$SPARK_HISTORY_OPTS \
|
||||
-Dspark.history.fs.logDirectory=file:/mnt/$eventsDir";
|
||||
-Dspark.history.fs.logDirectory=file:/data/$eventsDir";
|
||||
elif [ "$enableGCS" == "true" ]; then
|
||||
export SPARK_HISTORY_OPTS="$SPARK_HISTORY_OPTS \
|
||||
-Dspark.hadoop.google.cloud.auth.service.account.json.keyfile=/etc/secrets/$key \
|
||||
@@ -95,7 +95,7 @@ spec:
|
||||
{{- if .Values.pvc.enablePVC }}
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /mnt/{{ .Values.pvc.eventsDir }}
|
||||
mountPath: /data
|
||||
{{- else if .Values.gcs.enableGCS }}
|
||||
volumeMounts:
|
||||
- name: secrets-volume
|
||||
|
||||
Reference in New Issue
Block a user