Skip to content

Commit

Permalink
Add solar routing
Browse files Browse the repository at this point in the history
  • Loading branch information
matteius committed Oct 14, 2023
1 parent fdbcf10 commit bc7f3af
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions k8s/opensensor_certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ spec:
commonName: www.opensensor.io
dnsNames:
- opensensor.io
- api.opensensor.io
- solar.opensensor.io
22 changes: 22 additions & 0 deletions k8s/opensensor_ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ spec:
- www.opensensor.io
- api.opensensor.io
- growmax.opensensor.io
- solar.opensensor.io
- solar-api.opensensor.io
secretName: opensensor-tls
rules:
- host: opensensor.io
Expand Down Expand Up @@ -60,3 +62,23 @@ spec:
name: opensensor-growmax
port:
number: 80
- host: solar.opensensor.io
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: opensensor-solar
port:
number: 80
- host: solar-api.opensensor.io
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: opensensor-solar-api
port:
number: 80

0 comments on commit bc7f3af

Please sign in to comment.