Bug 1704843
| Summary: | [DOCS] BuildConfig sample does not work | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | rvanderp |
| Component: | Documentation | Assignee: | Brandi Munilla <bmcelvee> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | wewang <wewang> |
| Severity: | low | Docs Contact: | Vikram Goyal <vigoyal> |
| Priority: | low | ||
| Version: | 4.1.0 | CC: | aos-bugs, jokerman, mmccomas, wsun |
| Target Milestone: | --- | ||
| Target Release: | 4.1.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://docs.openshift.com/container-platform/4.1/builds/understanding-buildconfigs.html | ||
| Whiteboard: | 4.0_Readiness_Feedback | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-05-10 15:02:58 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1664187 | ||
|
Description
rvanderp
2019-04-30 15:57:08 UTC
I opened the following PR to correct the example: https://github.com/openshift/openshift-docs/pull/14645 Thanks! @Brandi I met error info:
[wewang@Desktop ~]$ oc create -f bc.json
error: unable to recognize "bc.json": no matches for kind "build.openshift.io/v1" in version "v1"
[wewang@Desktop ~]$ oc version
Client Version: version.Info{Major:"4", Minor:"1+", GitVersion:"v4.1.0", GitCommit:"08bfd1b59", GitTreeState:"clean", BuildDate:"2019-05-05T21:09:19Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.4+9fe6f2c", GitCommit:"9fe6f2c", GitTreeState:"clean", BuildDate:"2019-05-05T05:28:43Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
Thanks so much! I updated the PR (https://github.com/openshift/openshift-docs/pull/14645). Verified it, pr can be merged now Version: $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.1.0-0.nightly-2019-05-07-201043 True False Thanks! PR merged. |