apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: n8n namespace: ${NAMESPACE} annotations: # The editor pushes execution progress over a long-lived connection, and # imports can be large. Buffering it defeats the first; the default body # size defeats the second. nginx.ingress.kubernetes.io/proxy-body-size: ${INGRESS_BODY_SIZE} nginx.ingress.kubernetes.io/proxy-read-timeout: "3600" nginx.ingress.kubernetes.io/proxy-send-timeout: "3600" nginx.ingress.kubernetes.io/proxy-buffering: "off" nginx.ingress.kubernetes.io/proxy-http-version: "1.1" spec: ingressClassName: ${INGRESS_CLASS} tls: - hosts: - ${N8N_HOSTNAME} secretName: n8n-tls rules: - host: ${N8N_HOSTNAME} http: paths: - path: / pathType: Prefix backend: service: name: n8n port: number: 80