aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/uui/values.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/uui/values.yaml')
-rw-r--r--kubernetes/uui/values.yaml41
1 files changed, 36 insertions, 5 deletions
diff --git a/kubernetes/uui/values.yaml b/kubernetes/uui/values.yaml
index 2cc0837f41..c9a0331350 100644
--- a/kubernetes/uui/values.yaml
+++ b/kubernetes/uui/values.yaml
@@ -25,7 +25,7 @@ subChartsOnly:
flavor: small
# application image
-image: onap/usecase-ui:14.0.0
+image: onap/usecase-ui:15.0.0
pullPolicy: Always
# application configuration
@@ -80,11 +80,11 @@ service:
]{{ end }}
ingress:
- enabled: false
+ enabled: true
service:
- - baseaddr: "uui-ui"
- name: "uui"
- port: 8080
+ - baseaddr: uui
+ name: uui-proxy
+ port: 80
config:
ssl: "redirect"
@@ -114,3 +114,34 @@ resources:
cpu: "500m"
memory: "1Gi"
unlimited: {}
+
+nginx:
+ fullnameOverride: uui-proxy
+ serverBlock: |-
+ server {
+ listen 8080;
+ listen [::]:8080;
+
+ # Redirect root path to /usecase-ui
+ location = / {
+ return 301 /usecase-ui;
+ }
+
+ # frontend
+ location /usecase-ui {
+ proxy_pass http://uui:8080;
+ proxy_set_header Host $host;
+ proxy_set_header X-Real-IP $remote_addr;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header X-Forwarded-Proto $scheme;
+ }
+
+ # backend
+ location /api {
+ proxy_pass http://uui-server:8082;
+ proxy_set_header Host $host;
+ proxy_set_header X-Real-IP $remote_addr;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header X-Forwarded-Proto $scheme;
+ }
+ }