Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Commit c56d6eb

Browse files
committed
spark history , coresite volume
1 parent b6349f7 commit c56d6eb

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

charts/spark-history/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type: application
2222
# This is the chart version. This version number should be incremented each time you make changes
2323
# to the chart and its templates, including the app version.
2424
# Versions are expected to follow Semantic Versioning (https://semver.org/)
25-
version: 4.0.4
25+
version: 4.0.5
2626

2727
# This is the version number of the application being deployed. This version number should be
2828
# incremented each time you make changes to the application. Versions are not expected to
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{ include "library-chart.configMapCoreSite" . }}

charts/spark-history/templates/deployment.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ spec:
3333
{{- end }}
3434
- name: {{$volumeName}}
3535
emptyDir: {}
36+
- name: config-coresite
37+
configMap:
38+
name: {{ include "library-chart.configMapNameCoreSite" . }}
3639
{{- with .Values.imagePullSecrets }}
3740
imagePullSecrets:
3841
{{- toYaml . | nindent 8 }}
@@ -78,7 +81,10 @@ spec:
7881
- mountPath: /data
7982
name: {{$volumeName}}
8083
- mountPath: /home/{{ .Values.service.user}}/work
81-
name: home
84+
name: home
85+
- mountPath: /opt/hadoop/etc/hadoop/core-site.xml
86+
subPath: core-site.xml
87+
name: config-coresite
8288
initContainers:
8389
- name: standard-init
8490
image: "busybox"

charts/spark-history/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ s3:
4141
secretAccessKey: ""
4242
sessionToken: ""
4343

44+
coresite:
45+
configMapName: ""
4446

4547
# This is a YAML-formatted file.
4648
# Declare variables to be passed into your templates.

0 commit comments

Comments
 (0)