apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: 'traefik'
    cert-manager.io/cluster-issuer: 'letsencrypt-prod'
    traefik.ingress.kubernetes.io/redirect-entry-point: https
  name: gowebapp
spec:
  rules:
    - host: gowebapp.dev.pettycashmate.co
      http:
        paths:
          - path: '/'
            pathType: Prefix
            backend:
              service:
                name: gowebapp-service
                port:
                  number: 3030
  tls:
    - hosts:
        - gowebapp.dev.pettycashmate.co
      secretName: gowebapp.dev.pettycashmate.co-tls
