diff --git a/charts/kyuubi/templates/kyuubi-deployment.yaml b/charts/kyuubi/templates/kyuubi-deployment.yaml index 7560c0bdb9a..e0ad5bb7886 100644 --- a/charts/kyuubi/templates/kyuubi-deployment.yaml +++ b/charts/kyuubi/templates/kyuubi-deployment.yaml @@ -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 }} diff --git a/charts/kyuubi/values.yaml b/charts/kyuubi/values.yaml index 9b32a5f20eb..cc8bf048ace 100644 --- a/charts/kyuubi/values.yaml +++ b/charts/kyuubi/values.yaml @@ -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