projectcontour / contour

Contour is a Kubernetes ingress controller using Envoy proxy.
https://projectcontour.io
Apache License 2.0
3.7k stars 672 forks source link

Make "kubectl explain" work for HTTPProxy resources. #1723

Closed jpeach closed 3 years ago

jpeach commented 4 years ago

Please describe the problem you have

kubectl explain is a built-in way to provide Kubernetes resource reference material to users. It would be great to support this as part of the HTTPProxy documentation.

jpeach commented 4 years ago

@youngnick I think that kubectl explain pull this from the OpenAPI definition for the Resource, so maybe we could get this for free as part of #1575?

jpeach commented 4 years ago
KIND:     HTTPProxy
VERSION:  projectcontour.io/v1

DESCRIPTION:
     <empty>
KIND:     HTTPProxy
VERSION:  projectcontour.io/v1

DESCRIPTION:
     <empty>

:(

youngnick commented 4 years ago

Hmm, probably. I'll take this for now and see if that happens when I do #1414.

davecheney commented 4 years ago

There is also #1567

youngnick commented 4 years ago

Sadly, #1731 didn't just magically fix this one, but I think that that's due to upstream things.

Specifically:

The tl;dr here for next steps is:

There is no way any of this will be done in rc.2, so I'm moving this to backlog. I'll keep it and poke it along.

jpeach commented 4 years ago

Blocked by https://github.com/projectcontour/contour/issues/2678

alexbrand commented 4 years ago

+1