diff --git a/openscore-core/k8s/base/ingress.yaml b/openscore-core/k8s/base/ingress.yaml index 0c4b382..19df7d5 100644 --- a/openscore-core/k8s/base/ingress.yaml +++ b/openscore-core/k8s/base/ingress.yaml @@ -9,6 +9,16 @@ spec: ingressClassName: nginx rules: - host: rhopenscore.com + http: + paths: + - path: /api/rest + pathType: Prefix + backend: + service: + name: openscore-core + port: + number: 8080 + - host: www.rhopenscore.com http: paths: - path: /api/rest diff --git a/openscore-core/k8s/overlays/production/ingress-patch.yaml b/openscore-core/k8s/overlays/production/ingress-patch.yaml index d8cf1a2..5fd0746 100644 --- a/openscore-core/k8s/overlays/production/ingress-patch.yaml +++ b/openscore-core/k8s/overlays/production/ingress-patch.yaml @@ -9,4 +9,5 @@ spec: tls: - hosts: - rhopenscore.com + - www.rhopenscore.com secretName: tls-core \ No newline at end of file diff --git a/openscore-ui/k8s/base/ingress.yaml b/openscore-ui/k8s/base/ingress.yaml index 5193850..d21122b 100644 --- a/openscore-ui/k8s/base/ingress.yaml +++ b/openscore-ui/k8s/base/ingress.yaml @@ -9,6 +9,16 @@ spec: ingressClassName: nginx rules: - host: rhopenscore.com + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: openscore-ui + port: + number: 3000 + - host: www.rhopenscore.com http: paths: - path: / diff --git a/openscore-ui/k8s/overlays/production/ingress-patch.yaml b/openscore-ui/k8s/overlays/production/ingress-patch.yaml index 06b27cc..009b27b 100644 --- a/openscore-ui/k8s/overlays/production/ingress-patch.yaml +++ b/openscore-ui/k8s/overlays/production/ingress-patch.yaml @@ -9,4 +9,5 @@ spec: tls: - hosts: - rhopenscore.com + - www.rhopenscore.com secretName: tls-ui \ No newline at end of file