anyone that has a concrete example configuring a t...
# kubernetes
w
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
Maybe it’s in this list @wet-noon-14291 https://github.com/pulumi/pulumi-kubernetes-crds
w
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
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
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
I'm currently using ^
@billowy-army-68599 happy to make pr to examples with the above if it is a good fit
b
that'd be awesome. thank you!
s
(edited added types)