Skip to content

Error creating image secret #20759

@nightman68

Description

@nightman68

When I try to create an images secret in GUI I receive an error:

An error occurred while creating the secret. Reason: Secret "registry" is invalid: data[.dockercfg]: Required value

Version

openshift v3.10.0+dd10d17

oc v3.10.0+dd10d17
kubernetes v1.10.0+b81c8f8
features: Basic-Auth GSSAPI Kerberos SPNEGO

Steps To Reproduce
  1. In the UI navigate to Resources/Secrets
  2. Select Image Secret
  3. For Authentication Type select Configuration File
  4. Open the config.json file in $HOME/.docker
  5. Finish via Create
Current Result

An error occurred while creating the secret. Reason: Secret "registry" is invalid: data[.dockercfg]: Required value

Expected Result

The secret is created like in release 3.9 were it was working in the same way.

Additional Information

Creating the secret via cmd is working with the same file

oc create secret generic secret --from-file=.dockerconfigjson=$HOME/.docker/config.json --type=kubernetes.io/dockerconfigjson

Metadata

Metadata

Labels

lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.sig/user-interface

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions