##---
# Source: hackmd/templates/ingress.yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: hackmd
  labels:
    app: hackmd
    chart: hackmd-0.1.1
    release: hmd0
    heritage: Tiller
  annotations:
    kubernetes.io/ingress.class: nginx
    kubernetes.io/tls-acme: "true"
    nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
    nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
spec:
  tls:
  - hosts:
    - $(HACKMD_URL)
    secretName: hackmd-tls
  rules:
  - host: $(HACKMD_URL)
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: hackmd
            port:
              name: http
