Files
homelab/durpapi/templates/kong.yaml
2023-06-26 10:34:44 -04:00

23 lines
493 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: durpapi
namespace: durpapi
annotations:
konghq.com/strip-path: "true"
external-dns.alpha.kubernetes.io/hostname: "durpapi.durp.info"
spec:
ingressClassName: kong
rules:
- host: durpapi.durp.info
http:
paths:
- path:
pathType: ImplementationSpecific
backend:
service:
name: durpapi-service
port:
number: 8080