apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: webapp
  namespace: sock-shop
  labels:
    name: front-end-external
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
    kubernetes.io/ingress.class: "nginx"
    cert-manager.io/cluster-issuer: "letsencrypt-staging"
spec:
  tls:
  - hosts:
    - shop.paradox-server.ru
    secretName: kube-practice-app-tls
  rules:
  - host: shop.paradox-server.ru
    http:
      paths:
      - pathType: Prefix
        path: "/"
        backend:
          service:
            name: front-end
            port: 
              number: 80