Create ingress.yaml

This commit is contained in:
tehNooB 2023-10-19 16:09:52 +01:00 committed by GitHub
parent ddb9d56091
commit 2517d5fd04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,19 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: traefik-dashboard
namespace: traefik
annotations:
kubernetes.io/ingress.class: traefik-external
spec:
entryPoints:
- websecure # make sure this matches your entrypoint
routes:
- match: Host(`traefik.your-domain.co.uk`)
kind: Rule
middlewares:
- name: traefik-dashboard-basicauth
namespace: traefik
services:
- name: api@internal
kind: TraefikService