https://pulumi.com logo
Title
w

wet-noon-14291

10/28/2020, 7:45 AM
anyone that has a concrete example configuring a traefik ingress using version 2 of traefik?
To my understanding I need to use middleware to use things like path prefix stripping. @broad-dog-22463, I looked crd2pulumi since I guess I need to use a CRD to create the middleware. After that I looked for the schema for the middleware and all I found was: https://doc.traefik.io/traefik/reference/dynamic-configuration/kubernetes-crd/#definitions... I guess won't work well since the schema of the middleware is missing.
b

broad-dog-22463

10/28/2020, 10:52 AM
Maybe it’s in this list @wet-noon-14291 https://github.com/pulumi/pulumi-kubernetes-crds
w

wet-noon-14291

10/28/2020, 12:19 PM
couldn't find anything. I'll just create a custom one... as soon as we get the CRD into the cluster (not part of my project)
b

billowy-army-68599

10/28/2020, 6:57 PM
this came up the other day, it's a traefik problem, there's an upstream issue for this here: https://github.com/traefik/traefik/issues/5473
w

wet-noon-14291

10/29/2020, 8:46 PM
thanks for input. I created my own custom resource and it works fine. I also needed to add middleware and such which wasn't added in the cluster.
s

sparse-gold-89283

10/30/2020, 8:50 PM
I'm currently using ^
@billowy-army-68599 happy to make pr to examples with the above if it is a good fit
b

billowy-army-68599

10/30/2020, 8:54 PM
that'd be awesome. thank you!
s

sparse-gold-89283

10/30/2020, 8:55 PM
(edited added types)