feat: Expose uptime kuma
This commit is contained in:
parent
b6cca3f083
commit
cd67c5ba2d
@ -1,8 +1,9 @@
|
|||||||
$ORIGIN mnke.org.
|
$ORIGIN mnke.org.
|
||||||
@ 900 IN SOA dns-server. hostadmin 13 900 300 604800 900
|
@ 900 IN SOA dns-server. hostadmin 33 900 300 604800 900
|
||||||
@ 3600 IN NS dns-server.
|
@ 3600 IN NS dns-server.
|
||||||
authentik 600 IN CNAME authentik.dolo
|
authentik 600 IN CNAME authentik.dolo
|
||||||
blog 600 IN CNAME blog.dolo
|
blog 600 IN CNAME blog.dolo
|
||||||
git 600 IN CNAME git.jumper
|
git 600 IN CNAME git.jumper
|
||||||
vault 600 IN CNAME vault.jumper
|
|
||||||
panel 600 IN CNAME panel.jumper
|
panel 600 IN CNAME panel.jumper
|
||||||
|
up 600 IN CNAME up.dolo
|
||||||
|
vault 600 IN CNAME vault.jumper
|
||||||
|
@ -116,13 +116,7 @@ data:
|
|||||||
service: https://blog.mnke.org
|
service: https://blog.mnke.org
|
||||||
- hostname: media.mnke.org
|
- hostname: media.mnke.org
|
||||||
service: https://media.mnke.org
|
service: https://media.mnke.org
|
||||||
# The old tonydu.me domains will be routed like this though. This
|
- hostname: up.mnke.org
|
||||||
# is because I no longer want to support internal DNS entries for tonydu.me
|
service: https://up.mnke.org
|
||||||
- hostname: blog.tonydu.me
|
|
||||||
service: https://traefik.traefik.svc.cluster.local
|
|
||||||
originRequest:
|
|
||||||
noTLSVerify: true
|
|
||||||
http2Origin: true
|
|
||||||
httpHostHeader: blog.tonydu.me
|
|
||||||
# This rule matches any traffic which didn't match a previous rule, and responds with HTTP 404.
|
# This rule matches any traffic which didn't match a previous rule, and responds with HTTP 404.
|
||||||
- service: http_status:404
|
- service: http_status:404
|
||||||
|
@ -3,3 +3,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- blog-tonydu.yaml
|
- blog-tonydu.yaml
|
||||||
|
- up-mnke-org.yaml
|
||||||
|
30
k8s/apps/ingressroutes/internal/up-mnke-org.yaml
Normal file
30
k8s/apps/ingressroutes/internal/up-mnke-org.yaml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: up-mnke-org
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
routes:
|
||||||
|
- match: >-
|
||||||
|
(Host(`up.mnke.org`) || Host(`up.dolo.mnke.org`)) &&
|
||||||
|
(PathRegex(`^/status/*$`) || PathRegex(`^/api/*`))
|
||||||
|
kind: Rule
|
||||||
|
services:
|
||||||
|
- kind: Service
|
||||||
|
name: uptime-kuma
|
||||||
|
port: http
|
||||||
|
|
||||||
|
- match: Host(`up.mnke.org`) || Host(`up.dolo.mnke.org`)
|
||||||
|
kind: Rule
|
||||||
|
middlewares:
|
||||||
|
- name: authentik
|
||||||
|
namespace: default
|
||||||
|
services:
|
||||||
|
- kind: Service
|
||||||
|
name: uptime-kuma
|
||||||
|
port: http
|
||||||
|
tls:
|
||||||
|
secretName: wildcard-mnke-org-tls
|
@ -18,24 +18,8 @@ spec:
|
|||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
values:
|
values:
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
# We make our own IngressRoute for more granular control.
|
||||||
annotations:
|
enabled: false
|
||||||
cert-manager.io/cluster-issuer: le-cf-issuer
|
|
||||||
kubernetes.io/ingress.class: traefik
|
|
||||||
hosts:
|
|
||||||
- host: uptime.dolo.mnke.org
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- host: uptime.mnke.org
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
tls:
|
|
||||||
- hosts:
|
|
||||||
- uptime.dolo.mnke.org
|
|
||||||
- uptime.mnke.org
|
|
||||||
secretName: wildcard-mnke-org-tls
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
|
Loading…
x
Reference in New Issue
Block a user