kube-cascade/pihole/ingress.yaml

19 lines
345 B
YAML
Raw Permalink Normal View History

2023-12-20 22:40:16 +00:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: pihole
namespace: pihole
spec:
ingressClassName: haproxy
rules:
- host: pihole.strudelline.net
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: pihole-frontend
port:
number: 80