Kubernetes.K3s.installLog/ingress/Traefik2.x/ingressRoute-Traefik.yml

19 lines
422 B
YAML
Raw Normal View History

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: traefik
namespace: default
spec:
entryPoints:
- websecure
routes:
- match: Host(`ingress.spamasaurus.com`)
kind: Rule
services:
- name: api@internal
kind: TraefikService
middlewares:
- name: 2fa-authentication@file
- name: security-headers@file
2020-10-13 07:47:39 +00:00
- name: compression@file