K3s-cluster/adguard/ingress.yaml

19 lines
389 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: adguard-ingress
annotations:
kubernetes.io/ingress.class: "traefik"
spec:
rules:
- host: adguard.k3s.beta
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: adguard-svc
port:
number: 80