Bug 1470824
| Summary: | Revisit privileges granted to Service Accounts used by Ansible Service Broker | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | John Matthews <jmatthew> |
| Component: | Service Broker | Assignee: | John Matthews <jmatthew> |
| Status: | CLOSED ERRATA | QA Contact: | Weihua Meng <wmeng> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.6.0 | CC: | aos-bugs, fabian, jesusr, jmatthew, wjiang |
| Target Milestone: | --- | ||
| Target Release: | 3.7.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-11-28 22:01:28 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: | |||
|
Description
John Matthews
2017-07-13 18:34:21 UTC
Minor update, apbs will run as "admin", not "cluster-admin" in 3.6 Below PR drops the role to 'edit' for the service account running an APB. https://github.com/openshift/ansible-service-broker/pull/393 Summary of service accounts: Broker runs under 'asb' service account set to 'admin' through a ClusterRoleBinding APBs run under a temporary service account granted 'edit' through a RoleBinding in the target namespace. blocked by bug https://bugzilla.redhat.com/show_bug.cgi?id=1496426 Verified on ansible-service-broker 1.0.4
Fixed
docker run --entrypoint=asbd openshift3/ose-ansible-service-broker:v3.7 --version
1.0.4
- apiVersion: v1
groupNames: null
kind: RoleBinding
metadata:
creationTimestamp: 2017-09-28T08:19:05Z
name: apb-26122543-7202-41e4-866d-b9ad913822b8
namespace: wmeng2
resourceVersion: "44186"
selfLink: /oapi/v1/namespaces/wmeng2/rolebindings/apb-26122543-7202-41e4-866d-b9ad913822b8
uid: b1739e0a-a425-11e7-971a-fa163eeebea6
roleRef:
name: edit
subjects:
- kind: ServiceAccount
name: apb-26122543-7202-41e4-866d-b9ad913822b8
namespace: wmeng2
userNames:
- system:serviceaccount:wmeng2:apb-26122543-7202-41e4-866d-b9ad913822b8
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:3188 |