Bug 1509082
| Summary: | Installer should not put registry credentials in plain text in configmap for ASB deployment | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Weihua Meng <wmeng> |
| Component: | Installer | Assignee: | Fabian von Feilitzsch <fabian> |
| Status: | CLOSED ERRATA | QA Contact: | Weihua Meng <wmeng> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.7.0 | CC: | aos-bugs, jokerman, mmccomas, wmeng |
| Target Milestone: | --- | ||
| Target Release: | 3.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: Registry credentials for the broker were stored in a configmap
Consequence: Sensitive credentials could be exposed in plain text.
Fix: A secret is now created to store the credentials
Result: Registry credentials are no longer visible in plaintext
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-03-28 14:09:47 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: | |||
| Bug Depends On: | 1533208 | ||
| Bug Blocks: | |||
|
Description
Weihua Meng
2017-11-02 22:27:13 UTC
Commit pushed to master at https://github.com/openshift/openshift-ansible https://github.com/openshift/openshift-ansible/commit/1a2a895356df638756d2117e3d324710167737db Merge pull request #6745 from shawn-hurley/secret-reg-auth Automatic merge from submit-queue. Bug 1509082 - Adding auth as a secret If username and password are defined we should use a secret for the credentials. Fixed.
openshift-ansible-3.9.0-0.22.0.git.0.0e9d896.el7.noarch.rpm
$ oc get configmap broker-config -o yaml -n openshift-ansible-service-broker
apiVersion: v1
data:
broker-config: |
registry:
- type: dockerhub
name: rh
url: https://registry.hub.docker.com
org: ansibleplaybookbundle
tag: v3.7
white_list: [.*-apb$]
auth_type: "secret"
auth_name: "asb-registry-auth"
- type: local_openshift
name: localregistry
namespaces: ['openshift']
white_list: []
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/RHBA-2018:0489 |