Bug 1503289 - Registry credentials are displayed in plain text in configmap for ASB
Summary: Registry credentials are displayed in plain text in configmap for ASB
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.7.0
Assignee: Dylan Murray
QA Contact: Weihua Meng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-17 19:02 UTC by Dylan Murray
Modified: 2018-03-08 07:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-28 22:17:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

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


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