• Nikhita Raghunath's avatar
    kubectl explain: ignore trailing period · 4add6795
    Nikhita Raghunath authored
    kubectl explain ingress.spec.rules.http.paths. is valid
    and defaults to kubectl explain ingress.spec.rules.http.paths
    
    Rational: We use kubectl explain by adding fields
    (e.g. service, then service.spec, then service.spec.ports ...)
    so it's very easy to forget a trailing . at the end. We should
    ignore the trailing period and display the result without it.
    4add6795
field_lookup_test.go 1.78 KB