apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: docs
  namespace: _NAMESPACE
  annotations:
    kubernetes.io/ingress.class: "nginx"
    cert-manager.io/cluster-issuer: letsencrypt-nginx-production
spec:
  tls:
    - hosts:
      - stageui.scriptheads.io
      - stageui.shds.io
      secretName: stageui-docs-tls
  rules:
    - host: stageui.scriptheads.io
      http: &http_rules
        paths:
        - path: /
          pathType: Prefix
          backend:
            service:
              name: docs
              port:
                number: 80
    - host: stageui.shds.io
      http: *http_rules
        