Create ingress.yaml

This commit is contained in:
tehNooB
2023-10-20 12:25:27 +01:00
committed by GitHub
parent d90695d60d
commit 9a7f580cf0

View File

@@ -0,0 +1,21 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: traefik-dashboard
namespace: traefik
annotations:
kubernetes.io/ingress.class: traefik-external
spec:
entryPoints:
- websecure
routes:
- match: Host(`traefik2.jimsgarage.co.uk`) # change this to your domain
kind: Rule
middlewares:
- name: traefik-dashboard-basicauth
namespace: traefik
services:
- name: api@internal
kind: TraefikService
tls:
secretName: jimsgarage-tls # change this to your secret!!!