apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: bluecap-website
  namespace: bluecap-strategies
  annotations:
    traefik.ingress.kubernetes.io/router.entrypoints: websecure
    # If cert-manager is installed, uncomment and set your ClusterIssuer.
    # cert-manager.io/cluster-issuer: letsencrypt-production
spec:
  # If cert-manager is installed, uncomment tls and set the secret name.
  # tls:
  #   - hosts:
  #       - www.bluecapstrategies.com
  #       - bluecapstrategies.com
  #     secretName: bluecap-website-tls
  rules:
    - host: www.bluecapstrategies.com
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: bluecap-website
                port:
                  name: http
    - host: bluecapstrategies.com
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: bluecap-website
                port:
                  name: http
