Skip to content

Commit

Permalink
Merge pull request #103 from RasaHQ/duckling-mounts
Browse files Browse the repository at this point in the history
Duckling extra volume mounts
  • Loading branch information
erohmensing authored Nov 16, 2020
2 parents d15a70e + 675f88c commit f2b2189
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/rasa-x/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
apiVersion: v2

version: "1.7.6"
version: "1.7.7"
appVersion: "0.33.0"

name: rasa-x
Expand Down
8 changes: 8 additions & 0 deletions charts/rasa-x/templates/duckling-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
10 changes: 10 additions & 0 deletions charts/rasa-x/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f2b2189

Please sign in to comment.