Is it possible to add CORS header in response in Traefik version 1.4.2?

Is it possible to add CORS header in response in Traefik version 1.4.2 ??

I am using it as kubernetes ingress.
Is it possible to pass it as label?

Yes, you can simply use custom headers for that.
https://docs.traefik.io/v1.4/basics/#custom-headers

    [frontends.frontend1.headers.customresponseheaders]
    Access-Control-Allow-Origin = "https://yourdomain.com"

Even in traefik v2.1 the CORS middleware was broken and we used this method to set the CORS headers anyway.
Its fixed in v2.2 btw.