trafik rework -> missing test on linux machine

This commit is contained in:
2024-03-31 18:55:22 +02:00
parent 4b6dbdcbf9
commit fe436fa4e4
34 changed files with 37 additions and 61 deletions

View File

@ -0,0 +1,16 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: home-assitant-ingress
namespace: external
spec:
entryPoints:
- web
- websecure
routes:
- match: Host(`home.steffenillium.de`)
kind: Rule
services:
- name: home-assistant-service
port: 80

View File

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

View File

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