apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: APPNAME
  namespace: default
  annotations:
    kubernetes.io/ingress.class: "nginx"
    nginx.ingress.kubernetes.io/ssl-redirect: "true"
    nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
    cert-manager.io/issuer: "letsencrypt-prod"
spec:
  tls:
  - hosts:
    - DOMAIN
    secretName: CERT_NAME
  rules:
    - host: DOMAIN
      http:
        paths:
          - path: /
            pathType: ImplementationSpecific
            backend:
              service:
                name: SERVICE
                port:
                  number: 8080
