diff --git a/charts/rasa-x/Chart.yaml b/charts/rasa-x/Chart.yaml index 9c3aff78..1c439a05 100644 --- a/charts/rasa-x/Chart.yaml +++ b/charts/rasa-x/Chart.yaml @@ -1,7 +1,7 @@ --- apiVersion: v2 -version: "1.7.6" +version: "1.7.7" appVersion: "0.33.0" name: rasa-x diff --git a/charts/rasa-x/templates/duckling-deployment.yaml b/charts/rasa-x/templates/duckling-deployment.yaml index dbc8e22f..c2c63121 100644 --- a/charts/rasa-x/templates/duckling-deployment.yaml +++ b/charts/rasa-x/templates/duckling-deployment.yaml @@ -59,4 +59,12 @@ spec: resources: {{- toYaml . | nindent 10 }} {{- end }} + {{ if .Values.duckling.extraVolumeMounts }} + volumeMounts: +{{ toYaml .Values.duckling.extraVolumeMounts | indent 8 }} + {{- end }} + {{ if .Values.duckling.extraVolumes }} + volumes: +{{ toYaml .Values.duckling.extraVolumes | indent 6 }} + {{- end }} {{- end }} diff --git a/charts/rasa-x/values.yaml b/charts/rasa-x/values.yaml index c851c62f..438a9fe1 100644 --- a/charts/rasa-x/values.yaml +++ b/charts/rasa-x/values.yaml @@ -521,6 +521,16 @@ duckling: # resources which duckling is required / allowed to use resources: {} + # additional volumeMounts to the main container + extraVolumeMounts: [] + # - name: tmpdir + # mountPath: /var/lib/mypath + + # additional volumes to the pod + extraVolumes: [] + # - name: tmpdir + # emptyDir: {} + # automountServiceAccountToken specifies whether the Kubernetes service account # credentials should be automatically mounted into the pods. See more about it in # https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server