DescriptionKenjiro Nakayama
2017-05-01 04:12:14 UTC
Description of problem:
---
- The customer (dedicated users) cannot edit/replace default template/imagestreams in openshift namespace.
- For example, actual request is that the customer wanted to replace the pre-installed Jenkins image and python in the templates/imagestreams.
- It is possible to create new imagestream/templates in each namespace, but it makes webconsole messy.
Version-Release number of selected component (if applicable):
- OpenShift Dedicated
Steps to Reproduce:
---
1. oc edit template
Actual results:
---
$ oc edit imagestream -n openshift python
error: imagestreams "python" could not be patched: User "dedicated-cluster-admin" cannot "patch" "imagestreams" with name "python" in project "openshift"
You can run `oc replace -f /tmp/oc-edit-lmac3.yaml` to try this update again.
Expected results:
---
$ oc edit imagestream -n openshift python
$ oc edit template -n openshift jenkins
and edit/create/remove imagestream/templates works fine.
We are tracking this as an enhancement request. We have some pieces of work to enable. The model we are looking at is where a customer would opt-out of having OpenShift Operations manage the install and update of the image-streams and templates. Then the customer would run the script themselves and update as needed. As we wouldn't have a good way to track the changes and apply updates. We'd provide documentation and tools to assist with that.