Skip to content

Commit

Permalink
Merge pull request #29 from RasaHQ/additional-channel-object
Browse files Browse the repository at this point in the history
make additionalChannelCredentials an object
  • Loading branch information
alwx authored Mar 4, 2020
2 parents 936d366 + 3f5d2fb commit e063feb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
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: v1

version: "1.1.3"
version: "1.1.4"
appVersion: "0.25.1"

name: rasa-x
Expand Down
4 changes: 3 additions & 1 deletion charts/rasa-x/templates/rasa-config-files-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ data:
rasa-credentials: |
rasa:
url: http://{{ include "rasa-x.host" . }}:{{ .Values.rasax.port }}/api
{{- default "" .Values.rasa.additionalChannelCredentials | nindent 4 }}
{{- with .Values.rasa.additionalChannelCredentials }}
{{ toYaml . | nindent 4 }}
{{- end }}
rasa-endpoints: |
models:
url: ${RASA_MODEL_SERVER}
Expand Down
7 changes: 6 additions & 1 deletion charts/rasa-x/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,12 @@ rasa:
rabbitQueue: "rasa_production_events"
# additionalChannelCredentials which should be used by Rasa to connect to various
# input channels
additionalChannelCredentials: ""
additionalChannelCredentials: {}
# rest:
# facebook:
# verify: "rasa-bot"
# secret: "3e34709d01ea89032asdebfe5a74518"
# page-access-token: "EAAbHPa7H9rEBAAuFk4Q3gPKbDedQnx4djJJ1JmQ7CAqO4iJKrQcNT0wtD"
# initialProbeDelay for the `readinessProbe` and the `livenessProbe`
initialProbeDelay: 10
# lockStoreDatabase is the database in redis which Rasa uses to store the conversation locks
Expand Down

0 comments on commit e063feb

Please sign in to comment.