stack/kustomizations/website/ingress.yaml

32 lines
669 B
YAML
Raw Normal View History

2023-07-25 04:37:57 +00:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: website
annotations:
cert-manager.io/cluster-issuer: letsencrypt
external-dns.alpha.kubernetes.io/hostname: distrust.co
spec:
ingressClassName: nginx
rules:
- host: distrust.co
http:
paths:
- path: /.well-known/openpgpkey
pathType: Prefix
backend:
service:
name: wellknown-openpgp
port:
number: 80
- path: /
pathType: Prefix
backend:
service:
name: website
port:
number: 80
tls:
- hosts:
- distrust.co
secretName: website-tls