53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: wizarr-tonydu-external
|
|
namespace: default
|
|
spec:
|
|
type: ExternalName
|
|
externalName: wizarr.jumper.mnke.org
|
|
ports:
|
|
- name: wizarr-tonydu-external
|
|
port: 443
|
|
targetPort: 443
|
|
|
|
---
|
|
# TODO: Migrate this to redirect to mnke.org. Requires changing an env
|
|
# variable in the container
|
|
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: wizarr-tonydu-external
|
|
namespace: default
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- match: >-
|
|
Host(`wizarr.tonydu.me`) &&
|
|
(PathPrefix(`/j`) ||
|
|
PathPrefix(`/join`) ||
|
|
PathPrefix(`/setup`) ||
|
|
PathPrefix(`/static`) ||
|
|
PathPrefix(`/guide`))
|
|
kind: Rule
|
|
services:
|
|
- kind: Service
|
|
name: wizarr-tonydu-external
|
|
port: 443
|
|
passHostHeader: False
|
|
|
|
- match: Host(`wizarr.tonydu.me`)
|
|
kind: Rule
|
|
middlewares:
|
|
- name: authentik
|
|
namespace: default
|
|
services:
|
|
- kind: Service
|
|
name: wizarr-tonydu-external
|
|
port: 443
|
|
passHostHeader: False
|
|
tls:
|
|
secretName: wildcard-tonydu-me-tls
|