apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: invoiceshelf annotations: cert-manager.io/cluster-issuer: letsencrypt spec: ingressClassName: nginx rules: - host: invoice.distrust.co http: paths: - path: / pathType: Prefix backend: service: name: invoiceshelf port: name: http tls: - hosts: - invoice.distrust.co secretName: invoiceshelf-tls