Skip to content

Commit

Permalink
support for www
Browse files Browse the repository at this point in the history
  • Loading branch information
leandroberetta committed Nov 2, 2022
1 parent 17c478c commit 1caa46e
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
10 changes: 10 additions & 0 deletions openscore-core/k8s/base/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions openscore-core/k8s/overlays/production/ingress-patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ spec:
tls:
- hosts:
- rhopenscore.com
- www.rhopenscore.com
secretName: tls-core
10 changes: 10 additions & 0 deletions openscore-ui/k8s/base/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: /
Expand Down
1 change: 1 addition & 0 deletions openscore-ui/k8s/overlays/production/ingress-patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ spec:
tls:
- hosts:
- rhopenscore.com
- www.rhopenscore.com
secretName: tls-ui

0 comments on commit 1caa46e

Please sign in to comment.