apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: aide-ingress
  annotations:
    nginx.ingress.kubernetes.io/use-regex: "true"
    cert-manager.io/cluster-issuer: letsencrypt
spec:
  ingressClassName: nginx
  tls:
  - hosts:
    - xxxxx.xxxxx.cloudapp.azure.com
    secretName: tls-secret
  rules:
  - host: xxxxx.xxxxx.cloudapp.azure.com
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: aide-app
            port:
              number: 80
