Bug 1503289

Summary: Registry credentials are displayed in plain text in configmap for ASB
Product: OpenShift Container Platform Reporter: Dylan Murray <dymurray>
Component: Service BrokerAssignee: Dylan Murray <dymurray>
Status: CLOSED ERRATA QA Contact: Weihua Meng <wmeng>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.7.0CC: aos-bugs, chezhang, wmeng
Target Milestone: ---   
Target Release: 3.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-28 22:17:38 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 Dylan Murray 2017-10-17 19:02:26 UTC
Description of problem:
The configmap for ASB includes dockerhub credentials in plaintext. We should break out the credentials into a separate secret.

Version-Release number of selected component (if applicable):
3.7.0

How reproducible:
100%

Steps to Reproduce:
1. Deploy Ansible service broker
2. Look at the ASB configmap
[dymurray@dymurray ansible-service-broker]$ oc get configmap broker-config -o yaml | grep pass

Actual results:
Password in plain text

Expected results:
Password is not stored there and kept in a secret

Comment 3 Weihua Meng 2017-11-03 09:17:42 UTC
Fixed.
Verified on openshift v3.7.0-0.190.0

# oc get configmap broker-config -o yaml | grep pass
No credentials are displayed in plain text in configmap for ASB now.

Comment 4 Dylan Murray 2017-11-03 19:32:30 UTC
https://github.com/openshift/openshift-ansible/pull/6009

Associated downstream PR.

Comment 7 errata-xmlrpc 2017-11-28 22:17:38 UTC
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