apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-prod
    kubernetes.io/ingress.class: nginx
  name: api-docs
  namespace: events
spec:
  rules:
    - host: docs.apiriders.cloud
      http:
        paths:
          - backend:
              service:
                name: api-docs-eventsource-svc
                port:
                  number: 12000
            path: /push
            pathType: Prefix
  tls:
    - hosts:
        - docs.apiriders.cloud
      secretName: api-docs-cert