added fritz subdomain for local access

This commit is contained in:
Steffen Illium 2024-04-05 00:20:10 +02:00
parent 7318f5a830
commit f740ffb04c
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,18 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: fritz-ingress
namespace: traefik
labels:
expose: "false"
spec:
entryPoints:
- web
- websecure
routes:
- match: Host(`fritz.steffenillium.de`)
kind: Rule
services:
- name: fritz-service
port: http

View File

@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: fritz-service
spec:
type: ExternalName
externalName: 192.168.178.1
ports:
- port: 80
targetPort: 80
protocol: TCP
name: http

View File

@ -0,0 +1,3 @@
resources:
- fritz-ingress.yaml
- fritz-service.yaml