Bug 1330839 - Need update doc about the way to disable build strategy like docker, custom strategy
Summary: Need update doc about the way to disable build strategy like docker, custom s...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Documentation
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Vikram Goyal
QA Contact: Bilhar
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-27 06:31 UTC by Xingxing Xia
Modified: 2016-09-19 13:55 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-19 13:55:18 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Xingxing Xia 2016-04-27 06:31:09 UTC
Description of problem:
According to document https://docs.openshift.org/latest/admin_guide/securing_builds.html#disabling-a-build-strategy-globally , we can disable build strategy like docker, custom by removing '- builds/docker' and '- builds/custom' and keeping '- builds/source'. But `oc edit clusterrole admin edit` does not show these items:
  - builds/custom
  - builds/docker 
  - builds/source

Version-Release number of selected component (if applicable):
openshift v1.3.0-alpha.0-56-gd9c6483
kubernetes v1.3.0-alpha.1-331-g0522e63
etcd 2.3.0

How reproducible:
Always

Steps to Reproduce:
1. Via cluster-admin, run:
$ oc edit clusterrole admin
$ oc edit clusterrole edit


Actual results:
1. Inconsistent with the document. oc edit only shows:
  - builds
  - builds/clone
  - builds/log

Not show:
  - builds/custom
  - builds/docker 
  - builds/source

Expected results:
1. No matter about function change or document update, the result from oc edit and the document should be consistent.

Additional info:
In step 1, if add:
  - builds/source
But not add:
  - builds/custom
  - builds/docker
Then save edit, regular user still can create build of docker strategy.

Comment 4 Xingxing Xia 2016-04-27 07:38:21 UTC
Sorry, according to https://github.com/openshift/origin/pull/8528 (which is not yet merged in v3.2.0.17), the problem is not a function bug.
I'd like to convert it to Document bug to track updating the document.

Comment 5 Jordan Liggitt 2016-04-27 13:56:44 UTC
Docs in https://github.com/openshift/openshift-docs/pull/1909


Note You need to log in before you can comment on or make changes to this bug.