Skip to content

Commit

Permalink
Add ingresses
Browse files Browse the repository at this point in the history
  • Loading branch information
jveski committed Feb 29, 2024
1 parent e2d52a8 commit 4482335
Show file tree
Hide file tree
Showing 8 changed files with 178 additions and 0 deletions.
17 changes: 17 additions & 0 deletions manifests/cert-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,20 @@ spec:
commonName: "*.thelab.ms"
dnsNames:
- "*.thelab.ms"

---

apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: apps-wildcard
namespace: default
spec:
secretName: apps-wildcard-cert
issuerRef:
name: letsencrypt-prod
kind: Issuer
group: cert-manager.io
commonName: "*.apps.thelab.ms"
dnsNames:
- "*.apps.thelab.ms"
23 changes: 23 additions & 0 deletions manifests/docuseal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,26 @@ spec:
protocol: TCP
port: 80
targetPort: 3000

---

apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: docuseal
spec:
virtualhost:
fqdn: docuseal.apps.thelab.ms
rateLimitPolicy:
local:
requests: 50
unit: second
burst: 50
tls:
secretName: apps-wildcard-cert
routes:
- conditions:
- prefix: /
services:
- name: docuseal
port: 80
23 changes: 23 additions & 0 deletions manifests/frigate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,26 @@ spec:
secretKeyRef:
name: reporting-psql
key: password

---

apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: frigate
spec:
virtualhost:
fqdn: frigate.apps.thelab.ms
rateLimitPolicy:
local:
requests: 50
unit: second
burst: 50
tls:
secretName: apps-wildcard-cert
routes:
- conditions:
- prefix: /
services:
- name: frigate
port: 80
23 changes: 23 additions & 0 deletions manifests/grafana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,26 @@ spec:
protocol: TCP
port: 80
targetPort: 8880

---

apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: grafana
spec:
virtualhost:
fqdn: grafana.apps.thelab.ms
rateLimitPolicy:
local:
requests: 50
unit: second
burst: 50
tls:
secretName: apps-wildcard-cert
routes:
- conditions:
- prefix: /
services:
- name: grafana
port: 80
23 changes: 23 additions & 0 deletions manifests/homeassistant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,26 @@ spec:
protocol: TCP
port: 80
targetPort: 8123

---

apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: homeassistant
spec:
virtualhost:
fqdn: homeassistant.apps.thelab.ms
rateLimitPolicy:
local:
requests: 50
unit: second
burst: 50
tls:
secretName: apps-wildcard-cert
routes:
- conditions:
- prefix: /
services:
- name: homeassistant
port: 80
23 changes: 23 additions & 0 deletions manifests/keycloak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,26 @@ spec:
- name: mountpoint-dir
mountPath: /var/lib/kubelet/pods
mountPropagation: "Bidirectional"

---

apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: keycloak
spec:
virtualhost:
fqdn: keycloak.apps.thelab.ms
rateLimitPolicy:
local:
requests: 50
unit: second
burst: 50
tls:
secretName: apps-wildcard-cert
routes:
- conditions:
- prefix: /
services:
- name: keycloak
port: 80
23 changes: 23 additions & 0 deletions manifests/profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,26 @@ spec:
protocol: TCP
port: 8888
targetPort: 8888

---

apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: profile
spec:
virtualhost:
fqdn: profile.apps.thelab.ms
rateLimitPolicy:
local:
requests: 50
unit: second
burst: 50
tls:
secretName: apps-wildcard-cert
routes:
- conditions:
- prefix: /
services:
- name: profile
port: 80
23 changes: 23 additions & 0 deletions manifests/wikijs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,26 @@ spec:
protocol: TCP
port: 80
targetPort: 3000

---

apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: wikijs
spec:
virtualhost:
fqdn: wikijs.apps.thelab.ms
rateLimitPolicy:
local:
requests: 50
unit: second
burst: 50
tls:
secretName: apps-wildcard-cert
routes:
- conditions:
- prefix: /
services:
- name: wikijs
port: 80

0 comments on commit 4482335

Please sign in to comment.