apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: docker-registry
spec:
  rules:
    - host: {{ .cloud.dockerRegistryHost }}
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: docker-registry
                port:
                  number: 5000
  tls:
    - hosts:
        - {{ .cloud.dockerRegistryHost }}
      secretName: wildcard-internal-wild-cloud-tls
