Bug 1314856

Summary: [DOCS] Creating secrets for the image pull is outdated as docker stores key now in .docke/config.json
Product: OpenShift Container Platform Reporter: Ryan Howe <rhowe>
Component: DocumentationAssignee: Ashley Hardin <ahardin>
Status: CLOSED CURRENTRELEASE QA Contact: Johnny Liu <jialiu>
Severity: medium Docs Contact: Vikram Goyal <vigoyal>
Priority: low    
Version: 3.1.0CC: aos-bugs, jokerman, mmccomas, rhowe
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-25 19:44:16 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 Ryan Howe 2016-03-04 17:01:57 UTC
Document URL: https://docs.openshift.com/enterprise/3.1/dev_guide/image_pull_secrets.html#allowing-pods-to-reference-images-from-other-secured-registries

Section Number and Name: Allowing Pods to Reference Images from Other Secured Registries

Describe the issue:  Docker config file for storage of secrets has changed formats from .dockercfg to .docker/config.json

Suggestions for improvement: 

Add both explaining that use one for .dockercfg and the other for config.json

# oc secrets new <pull_secret_name> \
     .dockerconfigjson=path/to/.docker/config.json

# oc secrets new <pull_secret_name> \
    .dockercfg=<path/to/.dockercfg>


Additional information: 

More Info on this change
https://access.redhat.com/solutions/2190451

Comment 2 Ashley Hardin 2018-01-10 19:29:20 UTC
Work in progress:
https://github.com/openshift/openshift-docs/pull/7070

This issue only seems to exist in version 3.1 of the docs.

@Ryan PTAL

Comment 3 Johnny Liu 2018-01-22 06:49:09 UTC
LGTM.