Hide Forgot
Description of problem: oc get help does not contain documentation to list the available templates. For example, this exists, but is not documented: oc get template -n default Version-Release number of selected component (if applicable): atomic-openshift-clients-3.3.0.30-1.git.0.c5ee292.el7.x86_64 How reproducible: always Steps to Reproduce: 1. oc get | grep template or oc help get | grep template Actual results: no docs describing how to list the available templates Expected results: docs describing how to list the available templates Additional info: Document URL: Section Number and Name: Describe the issue: Suggestions for improvement: Additional information:
> oc get help does not contain documentation to list the available templates. For example, this exists, but is not documented: Right now, the list of available resources that is printed on `oc get` is hardcoded upstream. Ideally, we would want to "discover" available resources through the server in a future update.
Related upstream PR [1] and proposal [2]. 1. https://github.com/kubernetes/kubernetes/pull/51324 2. https://github.com/kubernetes/community/pull/1017
@David, I'd be in favor of using discovery to generate a list of resources that you can run against `oc explain`, if no other arguments are passed to the `oc explain` command.
That's fine. Open it upstream.
This is addressed in current release.