Skip to content

Commit bc7f3af

Browse files
committed
Add solar routing
1 parent fdbcf10 commit bc7f3af

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

k8s/opensensor_certificate.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ spec:
1111
commonName: www.opensensor.io
1212
dnsNames:
1313
- opensensor.io
14+
- api.opensensor.io
15+
- solar.opensensor.io

k8s/opensensor_ingress.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ spec:
1818
- www.opensensor.io
1919
- api.opensensor.io
2020
- growmax.opensensor.io
21+
- solar.opensensor.io
22+
- solar-api.opensensor.io
2123
secretName: opensensor-tls
2224
rules:
2325
- host: opensensor.io
@@ -60,3 +62,23 @@ spec:
6062
name: opensensor-growmax
6163
port:
6264
number: 80
65+
- host: solar.opensensor.io
66+
http:
67+
paths:
68+
- pathType: Prefix
69+
path: "/"
70+
backend:
71+
service:
72+
name: opensensor-solar
73+
port:
74+
number: 80
75+
- host: solar-api.opensensor.io
76+
http:
77+
paths:
78+
- pathType: Prefix
79+
path: "/"
80+
backend:
81+
service:
82+
name: opensensor-solar-api
83+
port:
84+
number: 80

0 commit comments

Comments
 (0)