kind: Service
apiVersion: v1
metadata:
name: owntracks-external
namespace: traefik
spec:
type: ExternalName
externalName: 10.0.50.43
ports:
- name: http
port: 8083
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
name: owntracks-external-ingress
annotations:
kubernetes.io/ingress.class: traefik-external
entryPoints:
- websecure
routes:
- match: Host(`owntracks.fascinated.cc`)
kind: Rule
middlewares:
- name: default-headers
- name: compress
services:
- name: owntracks-external
tls:
secretName: fascinated-cc