Skip to content

Commit

Permalink
feat(zeppelin): add extra volumes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
ebuildy committed Mar 25, 2022
1 parent 9fe1ef2 commit 4f532e1
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/zeppelin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: v2
name: zeppelin
description: Apache Zeppelin with Apache Spark
type: application
version: 0.3.1
version: 0.4.0
appVersion: 0.10.0
engine: gotpl
home: https://github.com/ebuildy/helm-data-lake
Expand Down
3 changes: 3 additions & 0 deletions charts/zeppelin/templates/_container_zeppelin.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,7 @@ volumeMounts:
- name: zep-ivy
mountPath: /opt/zeppelin/.ivy2
{{- end }}
{{- with .Values.extraVolumeMounts }}
{{ . | toYaml }}
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/zeppelin/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ spec:
emptyDir: {}
- name: zep-ivy
emptyDir: {}
{{- with .Values.extraVolumes }}
{{ . | toYaml | nindent 8 }}
{{- end }}
{{- end }}
initContainers:
- {{- include "zeppelin.container.config" . | nindent 8 }}
Expand Down
13 changes: 13 additions & 0 deletions charts/zeppelin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,19 @@ networkPolicy:
# -- add extra NP ingress rules
extraIngressRules: []

# -- extraVolumes Array to add extra volumes
extraVolumes: []
#- name: toto
# emptyDir: {}

# -- extraVolumeMounts Array to add extra mount
extraVolumeMounts: []
#- name: toto
# mountPath: /app/toto

# -- extra env variables for zeppelin container
extraEnvVars: {}

service:
type: ClusterIP
# -- HTTP server port
Expand Down

0 comments on commit 4f532e1

Please sign in to comment.