apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: web-service
  annotations:
    kubernetes.io/ingress.class: "nginx"
    nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
    cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
  tls:
  - hosts:
    - login.do.storageos.net
    secretName: ingress-cert
  rules:
  - host: login.do.storageos.net
    http:
      paths:       
      - path: /login
        pathType: Prefix
        backend:
          service:
            name: login-web-service
            port:
              number: 443
      - path: /callback
        pathType: Prefix
        backend:
          service:
            name: login-web-service
            port:
              number: 443              
