diff --git a/charts/kyuubi/templates/kyuubi-deployment.yaml b/charts/kyuubi/templates/kyuubi-deployment.yaml index e0ad5bb7886..941fdf164c6 100644 --- a/charts/kyuubi/templates/kyuubi-deployment.yaml +++ b/charts/kyuubi/templates/kyuubi-deployment.yaml @@ -43,6 +43,9 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} serviceAccountName: {{ .Values.serviceAccount.name | default .Release.Name }} + {{- with .Values.initContainers }} + initContainers: {{- tpl (toYaml .) $ | nindent 8 }} + {{- end }} containers: - name: kyuubi-server image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" @@ -86,6 +89,9 @@ spec: {{- with .Values.volumeMounts }} {{- tpl (toYaml .) $ | nindent 12 }} {{- end }} + {{- with .Values.containers }} + {{- tpl (toYaml .) $ | nindent 8 }} + {{- end }} volumes: - name: conf configMap: diff --git a/charts/kyuubi/values.yaml b/charts/kyuubi/values.yaml index cc8bf048ace..22ae9d5a914 100644 --- a/charts/kyuubi/values.yaml +++ b/charts/kyuubi/values.yaml @@ -84,6 +84,11 @@ volumes: [] # Additional volumeMounts for Kyuubi container (templated) volumeMounts: [] +# Additional init containers for Kyuubi pod (templated) +initContainers: [] +# Additional containers for Kyuubi pod (templated) +containers: [] + service: type: NodePort # The default port limit of kubernetes is 30000-32767