origin icon indicating copy to clipboard operation
origin copied to clipboard

Some fields are absent from oc explain module

Open max-fabertech opened this issue 8 years ago • 2 comments

Hello,

just a quick question. Is it a bug or oc explain is not intended to provide docs for every field?

$ oc explain bc.spec.triggers.imageChangeParams
error: field "imageChangeParams" does not exist
$ oc explain bc.spec.triggers.type
FIELD: type <string>

DESCRIPTION:
     type is the type of build trigger

Source: https://docs.openshift.com/container-platform/3.9/dev_guide/deployments/basic_deployment_operations.html#image-change-trigger

max-fabertech avatar Sep 12 '18 12:09 max-fabertech

@camabeh did you find other examples of this?

@openshift/sig-developer-experience since the one referenced is on a BC @openshift/sig-master for the general question

jwforres avatar Sep 18 '18 12:09 jwforres

You're running explain against a buildconfig, the docs you referenced are for deploymentconfigs.

bparees avatar Sep 18 '18 13:09 bparees