JG-mirror/Kubernetes/Traefik-External-Service/ingress.yaml

31 lines
666 B
YAML
Raw Permalink Normal View History

2023-12-03 23:32:13 +00:00
---
apiVersion: traefik.io/v1alpha1
2023-12-03 23:32:13 +00:00
kind: IngressRoute
metadata:
name: proxmox
namespace: default
annotations:
kubernetes.io/ingress.class: traefik-external
spec:
entryPoints:
- websecure
routes:
- match: Host(`www.proxmox.jimsgarage.co.uk`)
kind: Rule
services:
- name: proxmox
port: 8006
scheme: https
passHostHeader: true
- match: Host(`proxmox.jimsgarage.co.uk`)
kind: Rule
services:
- name: proxmox
port: 8006
scheme: https
passHostHeader: true
middlewares:
- name: default-headers
tls:
secretName: jimsgarage-tls