Skip to content

Commit

Permalink
[K8S][HELM] Add volumes and volumeMounts support to helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
dnskr committed Dec 29, 2022
1 parent a644364 commit a332b92
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/kyuubi/templates/kyuubi-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,16 @@ spec:
volumeMounts:
- name: conf
mountPath: {{ .Values.server.confDir }}
{{- with .Values.volumeMounts }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end }}
volumes:
- name: conf
configMap:
name: {{ .Release.Name }}
{{- with .Values.volumes }}
{{- tpl (toYaml .) $ | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector: {{- toYaml . | nindent 8 }}
{{- end }}
Expand Down
5 changes: 5 additions & 0 deletions charts/kyuubi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ server:
env: []
envFrom: []

# Additional volumes for Kyuubi pod (templated)
volumes: []
# Additional volumeMounts for Kyuubi container (templated)
volumeMounts: []

service:
type: NodePort
# The default port limit of kubernetes is 30000-32767
Expand Down

0 comments on commit a332b92

Please sign in to comment.