-
Feature Request
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
False
-
None
-
False
-
Not Selected
-
-
There are simply too many kube/openshift objects (and they change at a rapid frequency) for us to properly document and explain how to use them. This makes it hard for developers, admins and users to create properly structured objects (against the api versions that the cluster supports).
What is the nature and description of the request?
Thus this proposal is to provide a mechanism (enhancement or additional plugin) to `oc` that allows users to generate samples or examples of objects (in yaml or json) so that they can be modified/patched and used to be productive with administrative/development actions.
Concept
`oc explain OBJ --recurisve` already allows us to get the openapi specification of objects.
Thus being able to convert this to yaml/json output (feels/seems) like low hanging fruit; to produce a 'sample'; that a user could then 'patch' to fill in the right fields.