Skip to content

Commit

Permalink
Merge pull request #335 from RasaHQ/feature/enable_models_disabling
Browse files Browse the repository at this point in the history
Feature/enable models disabling
  • Loading branch information
camattin authored Mar 23, 2023
2 parents 4f95061 + dae81d9 commit db67d6b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/rasa-x/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
apiVersion: v2

version: "4.5.15"
version: "4.5.16"

appVersion: "1.2.2"

Expand Down Expand Up @@ -42,4 +42,4 @@ annotations:
# See: https://artifacthub.io/docs/topics/annotations/helm/#supported-annotations
artifacthub.io/changes: |
- kind: added
description: Added support for enable_selective_domain in endpoints.yml
description: Added support to disable adding models to endpoints.yml
2 changes: 2 additions & 0 deletions charts/rasa-x/templates/rasa-config-files-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ data:
{{ toYaml . | nindent 4 }}
{{- end }}
rasa-endpoints: |
{{- if not $.Values.rasa.disableEndpointsModelServer }}
models:
url: ${RASA_MODEL_SERVER}
token: ${RASA_X_TOKEN}
wait_time_between_pulls: 10
{{- end }}
tracker_store:
type: sql
dialect: "postgresql"
Expand Down
4 changes: 4 additions & 0 deletions charts/rasa-x/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ rasa:
scheme: http
# token Rasa accepts as authentication token from other Rasa services
token: "rasaToken"
# By default the chart configures Rasa to use a model server.
# This is not always desired in some environments. Set this boolean to true to
# prevent the chart from adding the 'models:' section in the endpoints.yml
disableEndpointsModelServer: false
# rabbitQueue it should use to dispatch events to Rasa Enterprise
rabbitQueue: "rasa_production_events"
# Optional additional rabbit queues for e.g. connecting to an analytics stack
Expand Down

0 comments on commit db67d6b

Please sign in to comment.