privateBin/04-ingress.yaml

26 lines
634 B
YAML
Raw Normal View History

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
namespace: privatebin
name: privatebin-ingress
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
external-dns.alpha.kubernetes.io/hostname: bin.van-hemmen.com
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec:
rules:
- host: bin.van-hemmen.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: app
port:
number: 80
tls:
- hosts:
- bin.van-hemmen.com
secretName: bin-web-tls