[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:
Viktor Bogdanov
2019-09-29 20:05:37 -07:00
committed by Kubernetes Prow Robot
parent ed612b55a5
commit cd6a58aa60
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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