Aether-3383 deploy chatbot to cloud
Change-Id: Ib665f01ae4f967b85ceeec15712d53c936e486c8
diff --git a/aether-enterprise-portal/Chart.yaml b/aether-enterprise-portal/Chart.yaml
index 6dc4af4..ffb8576 100644
--- a/aether-enterprise-portal/Chart.yaml
+++ b/aether-enterprise-portal/Chart.yaml
@@ -7,8 +7,8 @@
description: Aether Enterprise Portal
kubeVersion: ">=1.15.0"
type: application
-version: 0.1.0
-appVersion: 0.1.0
+version: 0.1.1
+appVersion: 0.1.1
keywords:
- aether
- roc
diff --git a/aether-enterprise-portal/templates/configmap.yaml b/aether-enterprise-portal/templates/configmap.yaml
index bed5fab..aa59c25 100644
--- a/aether-enterprise-portal/templates/configmap.yaml
+++ b/aether-enterprise-portal/templates/configmap.yaml
@@ -45,6 +45,21 @@
proxy_set_header Upgrade $http_upgrade;
add_header X-Frame-Options SAMEORIGIN;
}{{end}}
+ {{- if .Values.rasa.proxyEnabled }}
+ location /rasa/ {
+ proxy_pass {{ .Values.rasa.protocol }}://{{ .Values.rasa.service }}:{{ .Values.rasa.port }}/;
+ proxy_http_version 1.1;
+ proxy_set_header Upgrade $http_upgrade;
+ proxy_set_header Connection "Upgrade";
+ proxy_set_header Host $host;
+ }{{end}}
+ {{- if .Values.mailhog.proxyEnabled }}
+ location /mailhog/ {
+ proxy_pass {{ .Values.mailhog.protocol }}://{{ .Values.mailhog.service }}:{{ .Values.mailhog.port }}/;
+ proxy_http_version 1.1;
+ proxy_set_header Upgrade $http_upgrade;
+ add_header X-Frame-Options SAMEORIGIN;
+ }{{end}}
location / {
root /usr/share/nginx/html;
}
diff --git a/aether-enterprise-portal/values.yaml b/aether-enterprise-portal/values.yaml
index a468140..845be6e 100644
--- a/aether-enterprise-portal/values.yaml
+++ b/aether-enterprise-portal/values.yaml
@@ -10,7 +10,7 @@
image:
repository: onosproject/aether-enterprise-portal
- tag: v0.0.10
+ tag: v0.1.1
pullPolicy: IfNotPresent
pullSecrets: []
@@ -64,6 +64,18 @@
protocol: http
streamTimeout: 3600
+rasa:
+ proxyEnabled: false
+ service: rasa
+ protocol: http
+ port: 5005
+
+mailhog:
+ proxyEnabled: false
+ service: mailhog
+ protocol: http
+ port: 8025
+
websocket:
proxyEnabled: false
service: aether-roc-websocket