Add optional full yaml paths to kubectl explain
output
#1604
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What would you like to be added: It would be GREAT if there was a way to get
kubectl explain
to output the full yaml path for each entry, especially when--recursive
is set.So, output that looks like this today:
might look like this:
Why is this needed:
In addition to using
kubectl explain
to find out what a field is for and what type it expects, it could be very useful in determining where in the YAML structure a section belongs. With this change, running something like the following would make it much clearer WHERE the section belongs in the YAML manifest.The text was updated successfully, but these errors were encountered: