Ingress Status is not updated #6963

Do you want to request a feature or report a bug?

Bug

What did you do?

Step # 1

Installed Traefik with helm:

helm install traefik traefik/traefik -n ctct-system \
    --set kubernetes.ingressEndpoint.useDefaultPublishedService=true \
    --set rbac.enabled=true \
    --set logLevel=DEBUG \
    --set accessLogs.enabled=true \
    --set dashboard.enabled=true

Step # 2
Annotate Traefik service

kubectl annotate service traefik  -n ctct-system "external-dns.alpha.kubernetes.io/hostname=example.com"

This creates an A record and TXT record in AWS Route53 for example.com

Step # 3
Deploy an app. Showing ingress configuration:

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: hello-app
  labels:
    app: hello-app
  annotations:
    kubernetes.io/ingress.class: traefik
spec:
  rules:
  - host: panda.example.com
    http:
      paths:
      - path: /
        backend:
          serviceName: hello-app
          servicePort: 80

What did you expect to see?

Treafik should be updating the status field in Ingress object.

What did you see instead?

Status field in ingress object remains empty.

status:
  loadBalancer: {}

Output of traefik version: (What version of Traefik are you using?)

Version:  2.2.1
Codename: chevrotin
Go version: go1.14.2
Built:  2020-04-29T18:02:09Z
OS/Arch:  linux/amd64

What is your environment & configuration (arguments, toml, provider, platform, ...)?

Following is configuration for Traefik Pod.

spec:                                                                                                                                                                                                       
   containers:                                                                                                                                                                                               
   - args:                                                                                                                                                                                                   
     - --global.checknewversion                                                                                                                                                                              
     - --global.sendanonymoususage                                                                                                                                                                           
     - --entryPoints.traefik.address=:9000/tcp                                                                                                                                                               
     - --entryPoints.web.address=:8000/tcp                                                                                                                                                                   
     - --entryPoints.websecure.address=:8443/tcp                                                                                                                                                             
     - --api.dashboard=true                                                                                                                                                                                  
     - --ping=true                                                                                                                                                                                           
     - --providers.kubernetescrd                                                                                                                                                                             
     - --providers.kubernetesingress

If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)

traefik time="2020-06-25T17:03:03Z" level=error msg="Cannot create service: subset not found" serviceName=hello-app namespace=default providerName=kubernetes servicePort=80 ingress=hello-app  │