2022-05-11 01:10:48 +00:00
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: ingress
|
2022-05-17 07:16:24 +00:00
|
|
|
annotations:
|
2022-08-31 17:53:34 +00:00
|
|
|
nginx.ingress.kubernetes.io/proxy-body-size: 10m
|
2022-05-17 07:16:24 +00:00
|
|
|
nginx.ingress.kubernetes.io/server-snippet: |
|
2022-05-26 07:32:42 +00:00
|
|
|
if ($http_user_agent ~* "BLEXBot|SemrushBot|AhrefsBot" ) {
|
2022-05-17 07:16:24 +00:00
|
|
|
return 403;
|
|
|
|
}
|
2022-05-11 01:10:48 +00:00
|
|
|
spec:
|
|
|
|
ingressClassName: nginx
|
|
|
|
# NOTE: overlays depend on the order of rule entries.
|
|
|
|
rules:
|
2022-05-17 18:35:05 +00:00
|
|
|
- host: grafana.internal
|
2022-05-11 01:10:48 +00:00
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- pathType: Prefix
|
|
|
|
path: "/"
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: grafana
|
|
|
|
port:
|
|
|
|
name: service
|
2022-05-17 18:35:05 +00:00
|
|
|
- host: invidious.internal
|
2022-05-11 09:18:49 +00:00
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- pathType: Prefix
|
|
|
|
path: "/"
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: invidious
|
|
|
|
port:
|
|
|
|
name: http
|
2022-05-17 18:35:05 +00:00
|
|
|
- host: element.internal
|
2022-05-11 18:21:35 +00:00
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- pathType: Prefix
|
|
|
|
path: "/"
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: element
|
|
|
|
port:
|
|
|
|
name: http
|
2022-05-18 16:11:15 +00:00
|
|
|
# See the comment in the drone-config configMapGenerator in
|
|
|
|
# dev/kustomization.yaml:
|
2022-05-17 18:35:05 +00:00
|
|
|
- host: gitea.internal
|
2022-05-16 20:23:53 +00:00
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- pathType: Prefix
|
|
|
|
path: "/"
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: gitea
|
|
|
|
port:
|
|
|
|
name: http
|
2022-05-18 16:11:15 +00:00
|
|
|
- host: drone.internal
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- pathType: Prefix
|
|
|
|
path: "/"
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: drone
|
|
|
|
port:
|
|
|
|
name: http
|
2022-06-04 01:07:12 +00:00
|
|
|
- host: synapse.internal
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- pathType: Prefix
|
|
|
|
path: "/"
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: synapse
|
|
|
|
port:
|
|
|
|
name: http
|
2022-06-06 11:47:37 +00:00
|
|
|
- host: netflux.internal
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- pathType: Prefix
|
|
|
|
path: "/"
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: netflux-homepage
|
|
|
|
port:
|
|
|
|
name: http
|
2022-06-19 02:46:48 +00:00
|
|
|
- host: caldav.internal
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- pathType: Prefix
|
|
|
|
path: "/"
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: radicale
|
|
|
|
port:
|
|
|
|
name: caldav
|
2022-07-13 20:33:45 +00:00
|
|
|
- host: solar-gateway.internal
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- pathType: Prefix
|
|
|
|
path: "/"
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: solar-toolkit-gateway
|
|
|
|
port:
|
|
|
|
name: http
|