apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: autohtml-ingress
  namespace: autohtml
  annotations:
    cert-manager.io/cluster-issuer: "letsencrypt"
spec:
  tls:
   - hosts:
     - "autohtml.rors.org"
     secretName: "autohtml-tls"
  rules:
  - host: "autohtml.rors.org"
    http:
      paths:
      - pathType: Prefix
        path: "/"
        backend:
          service:
            name: autohtml-service
            port:
              number: 80

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: autohtml-ingress
  namespace: autohtml
  annotations:
    kubernetes.io/ingress.class: nginx
    cert-manager.io/cluster-issuer: "letsencrypt"
spec:
  tls:
   - hosts:
     - "autohtml.rors.org"
     secretName: "autohtml-tls"
  rules:
  - host: "autohtml.rors.org"
    http:
      paths:
      - pathType: Prefix
        path: "/"
        backend:
          service:
            name: autohtml-service
            port:
              number: 80

Set ingress class for demo
Set ingress class for demo